-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Projectorganizer external dirs and tagging is not compatible #330
Comments
@derba This should work (I'm using it myself very often). What filetypes do you have in your project and in the external directory? |
Just check if the file extensions you use are assigned to the right filetype under Tools->Configuration files->filetype_extensions.conf Also make sure the given filetype is actually parsed by Geany (not all filetypes are supported) - when the file is open, go to the Symbols tab and check if something appears there. |
I have a C file in the project directory and several C modules in the directories I added as external directories. When I use GeanyCtags plugin, "Project/Generate tags" menu item appears. When I click that, files in external dirs are not tagged. At Messages the following appears:
I think find should be invoked for each directory. The command should look like this (at least on Linux/Unix):
On the other hand, Geany's tagger finds the tags correctly and they appear at Symbols. Actually I am coding in a weird custom language, so I use ctags, as that is extensible. |
@derba You are mixing the functionality of two different plugins - GeanyCtags has nothing to do with ProjectOrganizer and knows nothing about ProjectOrganizer's external directories. I originally created GeanyCtags when tag management in Geany was too slow but now the speed is really good and GeanyCtags is more or less redundant. You should disable it completely and use ProjectOrganizer only. Both Geany's "goto tag definition/declaration" and ProjectOrganizer's "Project->Find project tag" should work for all the tags defined in the project directory and the external directories too. |
Uh, "Find project tag" really doesn't seem to work for external directories. Strange, I must have introduced some regression because this (and the symlinks too) used to work. Will have a look at it (probably during the weekend). |
OK, I just noticed what you mentioned about the custom language - to be honest I was rather considering removing the GeanyCtags plugin than extending it much since Geany's parsing speed is very good and even for big project it's fast enough. In any case I can have a look if I can fix the symlink problem for GeanyCtags too - then you'd be able to add symlinked directories into the project which should fix your problem. |
Thank you for your efforts. |
The "Find project tag" should work for external directories too now: 20b5450 Please test. |
Thank you, it works. |
When I add external directories, those are not tagged by Geany's tagger and GeanyCtags plugin. Project base path is considered only.
The text was updated successfully, but these errors were encountered: