User forums > Using Code::Blocks

Header/source swap about wxWidgets

(1/3) > >>

eranon:
Is there a way to do that the "swap header/source" feature works globally (ie. not for a specific project but whatever be the loaded project) when I want to take a look at the wxWidgets code. What to add in the global C::B settings ?

oBFusCATed:
Hm, pretty uninformative question. But swap header/source works globally if the header and source are in the same directory, for wx they aren't so this feature is always broken.

eranon:
From the point you know the wxWidgets tree structure, I effectively asked my question a little bit implicitely ; we could say the obfuscated way ;D But, you're right, oBFusCATed, the explicit question is well :

How to do that the header/source swapping feature works against wxWidgets source code, considering that its interface and implementation files are in differents locations ?

oBFusCATed:
By improving the feature, simple as this :)

ollydbg:
Check the option "Use one parser for all workspace", so that all your data/tokens were stored in a single database.


--- Quote from: oBFusCATed on September 04, 2012, 07:48:43 pm ---swap header/source works globally if the header and source are in the same directory

--- End quote ---
They will work if the cpp and h files were in different directory, but have the same short/base name like:
c:/aaa/bbb/ccc/xyz.cpp
d:/eee/fff/xyz.h

Navigation

[0] Message Index

[#] Next page

Go to full version