[Github-comments] [geany/geany-plugins] codenav: switch to header/implementation switches to wrong file (#594)

elextr notifications at xxxxx
Sun Aug 13 00:54:36 UTC 2017


>  the point isn't that I expect the plugin to be looking for the compile-time include directories,

As I said above, the compile time include directories (the -I options to the C compiler) are not known by Geany or the plugin, so it can't work like that.  

In fact the plugin doesn't even know about languages, it just knows an association between sets of extensions which can be adjusted by the user to support any language they want (see plugin preferences).

The rule that the current directory is searched first is a C compiler rule, it does not necessarily apply to any other language.  

The plugin searches the open files first, then the current directory, perhaps an option could be added to allow the order to be switched by the user, pull requests are welcome.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/594#issuecomment-322014890
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170813/76f2467e/attachment.html>


More information about the Github-comments mailing list