On Tue, Apr 16, 2013 at 12:47 PM, Lex Trotman elextr@gmail.com wrote:
On 16 April 2013 20:20, Harold Aling geany@sait.nl wrote:
Dear list,
I am a PHP-developer who mostly uses Drupal as a framework. Until recently I used the Project plugin to index our company-made Drupal distribution. This takes about 6 minutes of 100% CPU load on each start and close of Geany. If I forget to remove one or two website I'm not working on anymore it can take up to 10 minutes for a single open/close action, depending on the size of that sites.
... so I never close Geany and keep my PC running 24/7 ;)
I just tried replacing the Project with a .tags file, which works fine for auto-completion, but lacks "go to definition" support, so it's kinda useless to me.
I created the tags file using "geany -g" and it produced a "format=tagmanager" file. Geany supports differend kinds of tags files, like "ctags". Does this also add "go to definition" support? Or is there an other way to get "go to definition" to work when using a tags-file?
... and yes, this is like the 10th time I bring up this issue ;) I suck.
Sorry Harold, same old answer. The ctags just adds loading those files, it adds no extra capabilities.
Cheers Lex
Lex, any news on speeding up the project index? The tags file generation was done in 6 seconds, the Project plugin takes up to 10 minutes to do the same, with the addition of the "go to definition" support ...
$ time geany -g /tmp/drupal7.php.tags $(find . -type f -name '*.php' -o -name '*.module' -o -name '*.inc' -o -name '*.install' -o -name '*.engine')
real 0m6.322s user 0m6.228s sys 0m0.088s
-H-