Hi
I guess it is time to release geanyprj plugin. Main goal of this release is make "go to tag declaration/definition" work for all files in project (not just currently opened ones).
Plugin webpage: http://users.cosmostv.by/yurand/geanyprj/ Download: http://users.cosmostv.by/yurand/geanyprj/geanyprj-0.2.tar.gz
Example of usage:
On Geany sources:
1. Download geany-0.13.tar.gz (http://prdownloads.sourceforge.net/geany/geany-0.13.tar.gz?download) 2. Unpack it somewhere, for example in ~/src/geany-0.13 3. Open ~/src/geany-0.13/configure.in 4. Click "Tools->Project->New Project", and click "Create" button This will create and save .geanyprj file in ~/src/geany-0.13. From now, every time you open any file from ~/src/geany-0.13 directory or it's subdirs .geanyprj will be opened. So next time you don't have to create or open project manually. 1. Open any geany source code code file "go to tag declaration/definition" should work for any geany function. (Not limited to opened files). 1. Now you open file that doesn't belong to Geany. For example ~/src/myprj/a.c Geany project will be closed. If ~/src/myprj/.geanyprj exists it will be opened as current project. 2. Switching back to any Geany file will open Geany project again.
BUGS:
The plugin will work bad on Windows, since it assume filenames encoding is utf8.
On Sat, 23 Feb 2008 21:17:55 +0200, Yura Siamashka yurand2@gmail.com wrote:
Hi
I guess it is time to release geanyprj plugin. Main goal of this release is make "go to tag declaration/definition" work for all files in project (not just currently opened ones).
Plugin webpage: http://users.cosmostv.by/yurand/geanyprj/ Download: http://users.cosmostv.by/yurand/geanyprj/geanyprj-0.2.tar.gz
Cool! Just what I needed!
Where can I log bugs/feature requests for this plugin?
First encounters: * Strip location (or base path?) from file list in the 'Project' browser sidebar * Not all files get indexed??? The .inc file is listed in the project file list, but the functions in it aren't listed in the auto-complete list (they are I I open the specific .inc file) * Sort the files listed on the 'Project' tab * ...
Maybe with this plugin, my co-workers will stop making fun of me for sticking with Geany instead of Eclipse/Zend ;)
-H-
Hi
On Sun, 2008-02-24 at 15:20 +0100, Harold Aling wrote:
Where can I log bugs/feature requests for this plugin?
I guess here is Ok.
First encounters:
- Strip location (or base path?) from file list in the 'Project' browser
sidebar
Done in git
- Not all files get indexed??? The .inc file is listed in the project file
list, but the functions in it aren't listed in the auto-complete list (they are I I open the specific .inc file)
That is because geanyprj detect filetype based on filename only. And .inc files are detected as pascal files this way. I will write patch to provide complete geany filetype detection to plugins when I have time.
- Sort the files listed on the 'Project' tab
Added to todo list
- ...
Maybe with this plugin, my co-workers will stop making fun of me for sticking with Geany instead of Eclipse/Zend ;)
I tried to import my small 3mb sources project http://developer.berlios.de/projects/tw-light/ in Eclipse 3 years ago. It worked about 30 min wasting all CPU. When I finish last cup of tea, I just killed eclipse and never looked at it again.
751a855cfa534e2e7ad0f0a84359fb05@localhost 1203935629.2790.16.camel@yura Message-ID: ace1de61ff94b7cbc02c0163c7a1b0ab@localhost X-Sender: h.aling@home.nl Received: from madcap.xs4all.nl [82.93.196.225] with HTTP/1.1 (POST); Mon, 25 Feb 2008 11:51:49 +0100 User-Agent: RoundCube Webmail/0.1-svn Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit
On Mon, 25 Feb 2008 12:33:49 +0200, Yura Siamashka yurand2@gmail.com wrote:
Hi
On Sun, 2008-02-24 at 15:20 +0100, Harold Aling wrote:
- Not all files get indexed??? The .inc file is listed in the project
file
list, but the functions in it aren't listed in the auto-complete list
(they
are I I open the specific .inc file)
That is because geanyprj detect filetype based on filename only. And .inc files are detected as pascal files this way. I will write patch to provide complete geany filetype detection to plugins when I have time.
I use Geany for editing PHP files, and mostly in Drupal projects.
PHP files in Drupal have a .inc, .module, .install or .php extension. I have those set in Geany's file definitions, so if the project plugin could use those, it would be very cool indeed!
New bug: 'Find in project' points to a wrong path (should be 'base path'-only)
-H-
Yura Siamashka <yurand2@...> writes:
Plugin webpage: http://users.cosmostv.by/yurand/geanyprj/ Download: http://users.cosmostv.by/yurand/geanyprj/geanyprj-0.2.tar.gz
After updating to geany 0.13, I've tried your plugin. Compilation and installation works fine, but each time I try to start geany, I get this message in the shell:
** (geany:10878): WARNING **: /home/jd/.geany/plugins/geanyprj.so: \ undefined symbol: g_hash_table_remove_all
I'm using Ubuntu Dapper with gtk 2.8.20 and glib 2.10.3.
Any hints?
2008/3/3, Joerg Desch joerg.desch@googlemail.com:
Yura Siamashka <yurand2@...> writes:
** (geany:10878): WARNING **: /home/jd/.geany/plugins/geanyprj.so: \ undefined symbol: g_hash_table_remove_all
I'm using Ubuntu Dapper with gtk 2.8.20 and glib 2.10.3.
Any hints?
g_hash_table_remove_all was added in glib 2.12. Is it possible to upgrade glib for you?
Best regards, Yura Siamashka
On Mon, 3 Mar 2008 21:21:33 +0200 "Yura Siamashka" yurand2@gmail.com wrote:
2008/3/3, Joerg Desch joerg.desch@googlemail.com:
I'm using Ubuntu Dapper with gtk 2.8.20 and glib 2.10.3.
g_hash_table_remove_all was added in glib 2.12. Is it possible to upgrade glib for you?
Yes and no. ;-)
On my laptop (with Dapper) I don't have backported packages, and on my desktop (with Gusty) I already have 2.14.x installed. So I'll try your plugin an the desktop first. Thanks.