PDA

View Full Version : First QDevelop plugin



jlbrd
18th November 2006, 10:13
Hello,
The first plugin for QDevelop is available here: http://qdevelop.org/plugins. It is a plugin text based on Artistic Style 1.19 which allows to indent and format the text of the current editor.
This plugin works with version 0.21 of QDevelop under development. This version is avalaible on server http://qdevelop.org or on svn.
To install it, open the plugin project, then after compilation, copy the file obtained (.so) or (.dll) present in the directory lib in the sub-directory plugins where the QDevelop application is. If this repertory does not exist, it should be created. Example of structure directory under Linux:


.
|-- QDevelop-0.21-rev66
| |-- QDevelop
| |-- plugins
| |-- libastyle-plugin.so


After having started again QDevelop, a new menu “Plugins |Astyle” is added in the principal menu and makes it possible to launch the plugin. The entry menu “Options | Configures plugins | AStyle” is also added and makes it possible to configure the desired style of indentation.

Thanks

wysota
19th November 2006, 10:50
Good work, keep on going!

sunil.thaha
20th November 2006, 08:41
Unable to fetch the link http://qdevelop.org/astyle-plugin.zip. I am getting a 404 error

jlbrd
20th November 2006, 10:33
It's available on http://qdevelop.org/plugins.php

safknw
20th November 2006, 12:51
Unable to fetch the link http://qdevelop.org/astyle-plugin.zip. I am getting a 404 error
Same problem with me.

jpn
20th November 2006, 12:56
http://qdevelop.org/plugins/astyle-plugin.zip (http://qdevelop.org/plugins/astyle-plugin.zip)

jlbrd
20th November 2006, 12:58
Sorry, you are right. The link is now updated.

sunil.thaha
22nd November 2006, 11:04
Do you have a seperate bugtracker for the plugins ? or should I use the same link( http://code.google.com/p/qdevelop/issues/list )

jlbrd
22nd November 2006, 19:14
Currently, you can post your requests in this thread.

sunil.thaha
23rd November 2006, 07:07
For the header File



#ifndef DIALOGTEMPLATE_H
#define DIALOGTEMPLATE_H
//
#include "ui_DialogTemplate.h"
//
class DialogTemplate : public QDialog, public Ui::Dialog {
Q_OBJECT

public:
DialogTemplate( QWidget * parent = 0, Qt::WFlags f = 0 );
private slots:

};

#endif


Bug #1
1. In the settings of the astyle plugin, Choose custom
2. In the formatting tab, check the padding lines .... 3. Execute the plugin and the QDevelop crashes

Bug #2
1. In the settings of the astyle plugin, Choose custom
2. In the formatting tab, toggling the checkbox does not bring the contents to the old format

jlbrd
23rd November 2006, 09:44
Thank you,
A new project is opened on google code here : http://code.google.com/p/qdevelop-plugins/. The two problems are fixed on this svn.