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.
Cheers!
Harold
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
Cheers!
Harold _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
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-
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?
Cheers Lex
-H- _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On Wed, Apr 17, 2013 at 1:16 PM, Lex Trotman elextr@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-
On 17 April 2013 21:25, Harold Aling geany@sait.nl wrote:
On Wed, Apr 17, 2013 at 1:16 PM, Lex Trotman elextr@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).
Hi Harold,
None of the above are tags files, how long does it take to load drupal7.php.tags? And does that contain the tags for *all* the files that gproject indexes?
I do want to ensure that we are comparing like to like.
Cheers Lex
-H-
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On Wed, Apr 17, 2013 at 1:35 PM, Lex Trotman elextr@gmail.com wrote:
On 17 April 2013 21:25, Harold Aling geany@sait.nl wrote:
On Wed, Apr 17, 2013 at 1:16 PM, Lex Trotman elextr@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).
Hi Harold,
None of the above are tags files, how long does it take to load drupal7.php.tags? And does that contain the tags for *all* the files that gproject indexes?
I do want to ensure that we are comparing like to like.
The files above are from my last session and are loaded within a second. Geany also starts instantly end, of course, has all tags and calltips loaded after opening those 7 files.
I will re-enable the Project plugin, move ~/.config/geany/tags/d7.php.tags and give Geany a reboot. Back in 10 minutes! ;)
-H-
On Wed, Apr 17, 2013 at 1:44 PM, Harold Aling geany@sait.nl wrote:
On Wed, Apr 17, 2013 at 1:35 PM, Lex Trotman elextr@gmail.com wrote:
On 17 April 2013 21:25, Harold Aling geany@sait.nl wrote:
On Wed, Apr 17, 2013 at 1:16 PM, Lex Trotman elextr@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).
Hi Harold,
None of the above are tags files, how long does it take to load drupal7.php.tags? And does that contain the tags for *all* the files that gproject indexes?
I do want to ensure that we are comparing like to like.
The files above are from my last session and are loaded within a second. Geany also starts instantly end, of course, has all tags and calltips loaded after opening those 7 files.
I will re-enable the Project plugin, move ~/.config/geany/tags/d7.php.tags and give Geany a reboot. Back in 10 minutes! ;)
Re-opening the project: ~2 minutes Closing Geany: ~2 minutes Starting Geany: ~2 minutes
13:58:48: This is Geany 1.24 (git >= 235b861). 14:00:25: Project "D7" opened. 14:00:25: File /home/harold/checkout/XXXX/modules/contrib/registration/registration.module opened(1). 14:00:25: File /home/harold/checkout/XXXX/modules/contrib/registration/includes/registration.forms.inc opened(2). 14:00:25: File /home/harold/checkout/XXXX/modules/custom/XXXXmod/XXXXmod.install opened(3).
This is without any sites enabled, so there are exactly the same files as the tags.
$ find . -type f -name '*.php' -o -name '*.module' -o -name '*.inc' -o -name '*.install' -o -name '*.engine' | wc -l 2746
Adding websites in our Drupal distribution will add 1-2 minutes per site when indexing them with Project, it even seems/feels to be exponentially, but I can't prove that ... but I do remember something about sorting the tags on each added tag?
On 17 April 2013 22:08, Harold Aling geany@sait.nl wrote:
On Wed, Apr 17, 2013 at 1:44 PM, Harold Aling geany@sait.nl wrote:
On Wed, Apr 17, 2013 at 1:35 PM, Lex Trotman elextr@gmail.com wrote:
On 17 April 2013 21:25, Harold Aling geany@sait.nl wrote:
On Wed, Apr 17, 2013 at 1:16 PM, Lex Trotman elextr@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).
Hi Harold,
None of the above are tags files, how long does it take to load drupal7.php.tags? And does that contain the tags for *all* the files
that
gproject indexes?
I do want to ensure that we are comparing like to like.
The files above are from my last session and are loaded within a second. Geany also starts instantly end, of course, has all tags and calltips loaded after opening those 7 files.
I will re-enable the Project plugin, move ~/.config/geany/tags/d7.php.tags and give Geany a reboot. Back in 10 minutes! ;)
Re-opening the project: ~2 minutes Closing Geany: ~2 minutes Starting Geany: ~2 minutes
13:58:48: This is Geany 1.24 (git >= 235b861). 14:00:25: Project "D7" opened. 14:00:25: File /home/harold/checkout/XXXX/modules/contrib/registration/registration.module opened(1). 14:00:25: File /home/harold/checkout/XXXX/modules/contrib/registration/includes/registration.forms.inc opened(2). 14:00:25: File /home/harold/checkout/XXXX/modules/custom/XXXXmod/XXXXmod.install opened(3).
This is without any sites enabled, so there are exactly the same files as the tags.
$ find . -type f -name '*.php' -o -name '*.module' -o -name '*.inc' -o -name '*.install' -o -name '*.engine' | wc -l 2746
Adding websites in our Drupal distribution will add 1-2 minutes per site when indexing them with Project, it even seems/feels to be exponentially, but I can't prove that ... but I do remember something about sorting the tags on each added tag?
Ok, so what I think you are saying gproject is indexing many more tags because it is including other stuff. Its not really comparing the same thing to just loading the tag file.
I'm not sure exactly how symbols are added, but I thought that the sort was done at the end not each symbol when adding them as tags. Could be wrong though :).
Cheers Lex
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On 13-04-17 05:31 AM, Lex Trotman wrote:
On 17 April 2013 22:08, Harold Aling geany@sait.nl wrote:
On Wed, Apr 17, 2013 at 1:44 PM, Harold Aling geany@sait.nl wrote:
On Wed, Apr 17, 2013 at 1:35 PM, Lex Trotman elextr@gmail.com wrote:
On 17 April 2013 21:25, Harold Aling geany@sait.nl wrote:
On Wed, Apr 17, 2013 at 1:16 PM, Lex Trotman elextr@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).
Hi Harold,
None of the above are tags files, how long does it take to load drupal7.php.tags? And does that contain the tags for *all* the files
that
gproject indexes?
I do want to ensure that we are comparing like to like.
The files above are from my last session and are loaded within a second. Geany also starts instantly end, of course, has all tags and calltips loaded after opening those 7 files.
I will re-enable the Project plugin, move ~/.config/geany/tags/d7.php.tags and give Geany a reboot. Back in 10 minutes! ;)
Re-opening the project: ~2 minutes Closing Geany: ~2 minutes Starting Geany: ~2 minutes
13:58:48: This is Geany 1.24 (git >= 235b861). 14:00:25: Project "D7" opened. 14:00:25: File /home/harold/checkout/XXXX/modules/contrib/registration/registration.module opened(1). 14:00:25: File /home/harold/checkout/XXXX/modules/contrib/registration/includes/registration.forms.inc opened(2). 14:00:25: File /home/harold/checkout/XXXX/modules/custom/XXXXmod/XXXXmod.install opened(3).
This is without any sites enabled, so there are exactly the same files as the tags.
$ find . -type f -name '*.php' -o -name '*.module' -o -name '*.inc' -o -name '*.install' -o -name '*.engine' | wc -l 2746
Adding websites in our Drupal distribution will add 1-2 minutes per site when indexing them with Project, it even seems/feels to be exponentially, but I can't prove that ... but I do remember something about sorting the tags on each added tag?
Ok, so what I think you are saying gproject is indexing many more tags because it is including other stuff. Its not really comparing the same thing to just loading the tag file.
It's unclear if he's using GProject (named "GProject" in plugin manager) or GeanyPrj (named "Project" in plugin manager).
Cheers, Matthew Brush
GProject. I used to use GeanyPrj, but there was a reason why I had to switch ;)
On Wed, Apr 17, 2013 at 2:58 PM, Matthew Brush mbrush@codebrainz.ca wrote:
On 13-04-17 05:31 AM, Lex Trotman wrote:
On 17 April 2013 22:08, Harold Aling geany@sait.nl wrote:
On Wed, Apr 17, 2013 at 1:44 PM, Harold Aling geany@sait.nl wrote:
On Wed, Apr 17, 2013 at 1:35 PM, Lex Trotman elextr@gmail.com wrote:
On 17 April 2013 21:25, Harold Aling geany@sait.nl wrote:
On Wed, Apr 17, 2013 at 1:16 PM, Lex Trotman elextr@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).
Hi Harold,
None of the above are tags files, how long does it take to load drupal7.php.tags? And does that contain the tags for *all* the files
that
gproject indexes?
I do want to ensure that we are comparing like to like.
The files above are from my last session and are loaded within a second. Geany also starts instantly end, of course, has all tags and calltips loaded after opening those 7 files.
I will re-enable the Project plugin, move ~/.config/geany/tags/d7.php.tags and give Geany a reboot. Back in 10 minutes! ;)
Re-opening the project: ~2 minutes Closing Geany: ~2 minutes Starting Geany: ~2 minutes
13:58:48: This is Geany 1.24 (git >= 235b861). 14:00:25: Project "D7" opened. 14:00:25: File
/home/harold/checkout/XXXX/modules/contrib/registration/registration.module opened(1). 14:00:25: File
/home/harold/checkout/XXXX/modules/contrib/registration/includes/registration.forms.inc opened(2). 14:00:25: File /home/harold/checkout/XXXX/modules/custom/XXXXmod/XXXXmod.install opened(3).
This is without any sites enabled, so there are exactly the same files as the tags.
$ find . -type f -name '*.php' -o -name '*.module' -o -name '*.inc' -o -name '*.install' -o -name '*.engine' | wc -l 2746
Adding websites in our Drupal distribution will add 1-2 minutes per site when indexing them with Project, it even seems/feels to be exponentially, but I can't prove that ... but I do remember something about sorting the tags on each added tag?
Ok, so what I think you are saying gproject is indexing many more tags because it is including other stuff. Its not really comparing the same thing to just loading the tag file.
It's unclear if he's using GProject (named "GProject" in plugin manager) or GeanyPrj (named "Project" in plugin manager).
Cheers, Matthew Brush
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users