News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

previous include file opened after global variable changed

Started by cleanrock, January 21, 2009, 11:16:14 PM

Previous topic - Next topic

cleanrock

I use svn 5414 on linux.

If i change a global variable and then opens a include file in editor by right-clicking, it opens the header file in the previous global variable directory.
A restart of codeblocks fixes this but i dont think it should be necessary to restart codeblocks for it to open the correct file.

Here is how it happened to me :
- open project
- change GV glm from glm-0.8.1 to glm-0.8.2 (glm-0.8.1 directory still exists)
- rebuild used new files in glm-0.8.2
- open header file by right-click -> i get file from glm-0.8.1


stahta01

After you rename or create an GV; it does not changed to the new or renamed global varible.
If you leave the GV form and go back in and select the new GV it works for me.
The renaming seems to be more troublesome.
Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]