Hey guys,
First of all i want to say that i really appreciate the work you've been doing on making Geany such a great IDE. Keep up the good work!
I don't know if this is the right way to do it, but i want to suggest a feature for the Task list plugin (part of "addons"). The thing it needs is support for showing all the todo and fixme (and other) statements from a opened project's directory, including sub directories. This is really needed for projects with more than 20 files...
Thanks :)
Am 08.03.2011 16:51, schrieb Росен Стоянов:
Hey guys,
First of all i want to say that i really appreciate the work you've been doing on making Geany such a great IDE. Keep up the good work!
I don't know if this is the right way to do it, but i want to suggest a feature for the Task list plugin (part of "addons"). The thing it needs is support for showing all the todo and fixme (and other) statements from a opened project's directory, including sub directories. This is really needed for projects with more than 20 files...
Just wondering with this is not better fitting into geanyprj?
Cheers, Frank
On Tue, 08 Mar 2011 17:10:03 +0100, Frank wrote:
Am 08.03.2011 16:51, schrieb Росен Стоянов:
Hey guys,
First of all i want to say that i really appreciate the work you've been doing on making Geany such a great IDE. Keep up the good work!
I don't know if this is the right way to do it, but i want to suggest a feature for the Task list plugin (part of "addons"). The thing it needs is support for showing all the todo and fixme (and other) statements from a opened project's directory, including sub directories. This is really needed for projects with more than 20 files...
This request came up a couple of times in the past already. I somewhat hesitate to implement this as it would mean to basically grep all files in the project directory. Though if anyone is willing to implement it, patches are welcome. Maybe then the Tasks component of the Addons maybe separated (again) from the Addons plugin and could make a new, own plugin with this and maybe more features. Any volunteers? :D
Just wondering with this is not better fitting into geanyprj?
Isn't geanyprj pretty much dead?
Regards, Enrico
On Tue, 8 Mar 2011 20:01:27 +0100 Enrico Tröger enrico.troeger@uvena.de wrote:
On Tue, 08 Mar 2011 17:10:03 +0100, Frank wrote:
Am 08.03.2011 16:51, schrieb Росен Стоянов:
Hey guys,
First of all i want to say that i really appreciate the work you've been doing on making Geany such a great IDE. Keep up the good work!
I don't know if this is the right way to do it, but i want to suggest a feature for the Task list plugin (part of "addons"). The thing it needs is support for showing all the todo and fixme (and other) statements from a opened project's directory, including sub directories. This is really needed for projects with more than 20 files...
This request came up a couple of times in the past already. I somewhat hesitate to implement this as it would mean to basically grep all files in the project directory. Though if anyone is willing to implement it, patches are welcome. Maybe then the Tasks component of the Addons maybe separated (again) from the Addons plugin and could make a new, own plugin with this and maybe more features. Any volunteers? :D
I would agree if something like this is added to the addons part to move it out of the addons 'collection'.
Just wondering with this is not better fitting into geanyprj?
Isn't geanyprj pretty much dead?
It looks like but maybe this could be the moment to bring it back to life? ;)
Cheers, Frank
Looping through all the files might be somewhat slow, so i guess it would be better to check the files at the project's opening and only update the Tasks List when a file is saved. Sadly i can't help with the implementation because my knowledge of the C language is pretty basic.. If the plugins interface had a JavaScript implementation, i would gladly write plugins 24/7 :D
On 03/08/11 12:12, Росен Стоянов wrote:
If the plugins interface had a JavaScript implementation, i would gladly write plugins 24/7 :D
This isn't too far off, actually. AFAIK GJS[1] has DBus[2] bindings, and Geany DBus[3] support is on the way. For now, you could use Vala[4] to write plugins[5] directly, which is substantially easier than C.
[1] http://live.gnome.org/Gjs/ [2] http://www.freedesktop.org/wiki/Software/dbus [3] https://github.com/codebrainz/geany-dbus [4] http://live.gnome.org/Vala/ [5] http://gitorious.org/geany-vala-binding
Cheers, Matthew Brush (codebrainz)
Thanks @Matthew for the info, but I'd rather use C (we're learning C/C++ at school but we've just covered new and delete operators..). Can you give me some useful material to read and a guide how to compile and run the plugins? I have experience with languages like php and js so it's kind of easy to learn C, but personally i think it's a pretty stiff language... :D
On 03/08/11 13:03, Росен Стоянов wrote:
Can you give me some useful material to read and a guide how to compile and run the plugins?
http://www.geany.org/manual/reference/ and especially http://www.geany.org/manual/reference/howto.html
I have experience with languages like php and js so it's kind of easy to learn C, but personally i think it's a pretty stiff language... :D
Which is why I recommended Vala, it's much more approachable and outputs quite nice C code.
Happy Coding, Matthew Brush (codebrainz)