[Geany-Users] "Project" alternatives? Tags?

Harold Aling geany at xxxxx
Wed Apr 17 11:25:31 UTC 2013


On Wed, Apr 17, 2013 at 1:16 PM, Lex Trotman <elextr at gmail.com> wrote:
>
>> 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 ...
>
>
> Well, you will have to address the speed of the project plugin to its
> developer, but if it has extra functionality I guess that could be part of
> why its slower.  I think it is scanning all the files in the project,
> finding the tags and adding them all to the tagmanager as if the files are
> open.  That could be part of the delay, but the maintainer would know.
>
> I checked with the expert on Geany's tags capability, and sadly none of the
> tags system knows the filenames, so it can't do goto definition.
>
>>
>>
>> $ 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
>
>
> How long does it take to load the tags?

Within a second:

13:23:06: This is Geany 1.24 (git >= 235b861).
13:23:06: File /home/harold/checkout/XXXX/modules/contrib/registration/registration.module
opened(1).
13:23:06: File /home/harold/checkout/XXXX/modules/contrib/registration/includes/registration.forms.inc
opened(2).
13:23:06: File /home/harold/checkout/drupal7/sites/all/modules/contrib/flag/flag.module
opened(3).
13:23:06: File /home/harold/checkout/XXXX/modules/custom/XXXXmod/XXXXmod.module
opened(4).
13:23:06: File /home/harold/checkout/XXXX/modules/custom/XXXXmod/XXXXmod.install
opened(5).
13:23:06: File /home/harold/checkout/XXXX/modules/contrib/vppr/vppr.module
opened(6).
13:23:06: File /home/harold/checkout/XXXX/modules/features/XXXX_ct_page/XXXX_ct_page.info
opened(7).

-H-


More information about the Users mailing list