Hi!
Running Geany on Windows, I can't seem to find a right place to place a tags file to make it load on startup.
According to the documentation:
* Using the Load Tags command in the Tools menu.
This works ok.
* By creating a directory ~/.config/geany/tags, and moving or symlinking the tags files there before starting Geany. * By creating a directory $prefix/share/geany/tags, and moving or symlinking the tags files there before starting Geany. $prefix is the installation prefix (see Installation prefix).
But not this. I tried placing the file in C:\Users\User\Geany 0.18.1.1\share\geany\tags C:\Users\User\Geany 0.18.1.1\tags
All these options works as expected on Linux. Well.. any help is welcome.
Thanks
On 5 November 2010 22:28, Vinicius Massuchetto viniciusmassuchetto@gmail.com wrote:
Hi!
Running Geany on Windows, I can't seem to find a right place to place a tags file to make it load on startup.
According to the documentation:
- Using the Load Tags command in the Tools menu.
This works ok.
- By creating a directory ~/.config/geany/tags, and moving or
symlinking the tags files there before starting Geany.
- By creating a directory $prefix/share/geany/tags, and moving or
symlinking the tags files there before starting Geany. $prefix is the installation prefix (see Installation prefix).
But not this. I tried placing the file in C:\Users\User\Geany 0.18.1.1\share\geany\tags C:\Users\User\Geany 0.18.1.1\tags
You can check that its the right prefix by running geany from the command line with geany --print-prefix
That will tell you if C:\Users\User\Geany 0.18.1.1\ is where to put things.
Cheers Lex
All these options works as expected on Linux. Well.. any help is welcome.
Thanks
Vinicius Massuchetto _______________________________________________ Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Sat, 6 Nov 2010 09:55:36 +1100 Lex Trotman elextr@gmail.com wrote:
Running Geany on Windows, I can't seem to find a right place to place a tags file to make it load on startup.
According to the documentation:
- Using the Load Tags command in the Tools menu.
This works ok.
- By creating a directory ~/.config/geany/tags, and moving or
symlinking the tags files there before starting Geany.
- By creating a directory $prefix/share/geany/tags, and moving or
symlinking the tags files there before starting Geany. $prefix is the installation prefix (see Installation prefix).
But not this. I tried placing the file in C:\Users\User\Geany 0.18.1.1\share\geany\tags C:\Users\User\Geany 0.18.1.1\tags
You can check that its the right prefix by running geany from the command line with geany --print-prefix
That will tell you if C:\Users\User\Geany 0.18.1.1\ is where to put things.
I'm not sure if that works on Windows, could try it though. I think the docs for Windows paths need to be improved.
From looking at the code, the system data dir is the installation
directory plus 'data', e.g.: C:\Program Files\geany\data
For the user config dir you could try Tools->configuration Files->filetype_extensions.conf. The path for that file should be the same as the path to add a 'tags' directory.
Let us know how you get on and I'll update the documentation.
Nick
On Sun, 7 Nov 2010 12:45:12 +0000 Nick Treleaven nick.treleaven@btinternet.com wrote:
From looking at the code, the system data dir is the installation directory plus 'data', e.g.: C:\Program Files\geany\data
And the complete path for tag files should be: C:\Program Files\geany\data\tags
Nick
On Sun, 7 Nov 2010 12:47:10 +0000, Nick wrote:
Hi,
On Sun, 7 Nov 2010 12:45:12 +0000 Nick Treleaven nick.treleaven@btinternet.com wrote:
From looking at the code, the system data dir is the installation directory plus 'data', e.g.: C:\Program Files\geany\data
And the complete path for tag files should be: C:\Program Files\geany\data\tags
this is the installation directory which might get deleted/overwritten when installing new versions of Geany.
However, putting tags files in Geany's configuration directory works perfectly on Windows.
The following log entries are from my Windows 7 box:
13:24:01: Geany INFO : Loaded C:\Users\enrico\AppData \Roaming\geany\tags \geany-api-0.18.c.tags (C), 138 tag(s). 13:24:01: Geany INFO : Loaded C:\Users\enrico\AppData \Roaming\geany\tags \gtk218.c.tags (C), 22343 tag(s).
This is the default configuration directory for Geany on Windows 7. On older Windows versions it differs but that is Windows dependent.
Regards, Enrico
On Sun, 7 Nov 2010 14:30:36 +0100 Enrico Tröger enrico.troeger@uvena.de wrote:
From looking at the code, the system data dir is the installation directory plus 'data', e.g.: C:\Program Files\geany\data
And the complete path for tag files should be: C:\Program Files\geany\data\tags
this is the installation directory which might get deleted/overwritten when installing new versions of Geany.
Ok.
However, putting tags files in Geany's configuration directory works perfectly on Windows.
The following log entries are from my Windows 7 box:
13:24:01: Geany INFO : Loaded C:\Users\enrico\AppData \Roaming\geany\tags \geany-api-0.18.c.tags (C), 138 tag(s). 13:24:01: Geany INFO : Loaded C:\Users\enrico\AppData \Roaming\geany\tags \gtk218.c.tags (C), 22343 tag(s).
This is the default configuration directory for Geany on Windows 7. On older Windows versions it differs but that is Windows dependent.
I've now added startup debug messages to print Geany's system data dir and user config dir. I'll try to update the manual soon for Windows path information.
Nick
2010/11/7 Enrico Tröger enrico.troeger@uvena.de:
On Sun, 7 Nov 2010 12:47:10 +0000, Nick wrote:
Hi,
On Sun, 7 Nov 2010 12:45:12 +0000 Nick Treleaven nick.treleaven@btinternet.com wrote:
From looking at the code, the system data dir is the installation directory plus 'data', e.g.: C:\Program Files\geany\data
And the complete path for tag files should be: C:\Program Files\geany\data\tags
this is the installation directory which might get deleted/overwritten when installing new versions of Geany.
However, putting tags files in Geany's configuration directory works perfectly on Windows.
The following log entries are from my Windows 7 box:
13:24:01: Geany INFO : Loaded C:\Users\enrico\AppData \Roaming\geany\tags \geany-api-0.18.c.tags (C), 138 tag(s). 13:24:01: Geany INFO : Loaded C:\Users\enrico\AppData \Roaming\geany\tags \gtk218.c.tags (C), 22343 tag(s).
This is the default configuration directory for Geany on Windows 7. On older Windows versions it differs but that is Windows dependent.
Nice, thanks! Now it works under Windows. However, we couldn't make this feature work in Geany 0.19, only in 0.18.
This is weird.
If I remember correctly there were no related changes between the releases.
Did you check Help-Debug Messages? Maybe there is something interesting.
Regards, Enrico
----- Ursprüngliche Mitteilung -----
2010/11/7 Enrico Tröger enrico.troeger@uvena.de:
On Sun, 7 Nov 2010 12:47:10 +0000, Nick wrote:
Hi,
On Sun, 7 Nov 2010 12:45:12 +0000 Nick Treleaven nick.treleaven@btinternet.com wrote:
From looking at the code, the system data dir is the installation directory plus 'data', e.g.: C:\Program Files\geany\data
And the complete path for tag files should be: C:\Program Files\geany\data\tags
this is the installation directory which might get deleted/overwritten when installing new versions of Geany.
However, putting tags files in Geany's configuration directory works perfectly on Windows.
The following log entries are from my Windows 7 box:
13:24:01: Geany INFO : Loaded C:\Users\enrico\AppData \Roaming\geany\tags \geany-api-0.18.c.tags (C), 138 tag(s). 13:24:01: Geany INFO : Loaded C:\Users\enrico\AppData \Roaming\geany\tags \gtk218.c.tags (C), 22343 tag(s).
This is the default configuration directory for Geany on Windows 7. On older Windows versions it differs but that is Windows dependent.
Nice, thanks! Now it works under Windows. However, we couldn't make this feature work in Geany 0.19, only in 0.18.
-- Vinicius Massuchetto _______________________________________________ Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany