There is no reason that the `.h` is in the same directory as the `.c`.  There 
is a common idiom where the `.h` files are in a directory called `include`, not 
in the source directory called `src`.  Enforcing the same directory would not 
find the `.h` files in this case.

Geany does not understand the compile commands (and doesn't even know them if 
you use make or similar) so it can't check the include directories used by the 
compiler.  Heavyweight IDEs like Eclipse or Visual Studio understand the build 
commands (and constrain you to using the ones they do understand) and so can be 
more accurate.

-- 
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-321945709

Reply via email to