Code::Blocks Forums
User forums => Help => Topic started by: Oulaxer11 on March 05, 2008, 03:36:24 pm
-
Our projects are organized so that in many cases the header file (*.h) are stored in directories other than the directory where the c file (*.c) is located. In this arrangement, the right click, "Find Declaration" or the right click "Open file.h" does not work, I am assuming because the scope of the search does not include the entire project... is there away around this?
Thanks -
-
something similar happens to me, it finds the declaration of the wrong file. For example with files named the same on different directories.
Example:
Headers
====================
include/student.h
include/dialogs/student.h
Sources
====================
src/student.cpp
src/dialogs/student.cpp -> Find Declaration, opens -> include/student.h
-
I've had that happen too... I wonder how the search works... I wonder if I don't have the proper "paths" set.... and then in your case... it must not give higher priority to local copies of a file in a search like that... dunno... Elders?
-
Insight? Anyone? Bueler?
-
Same problem here.
Szurilo