Author Topic: previous include file opened after global variable changed  (Read 3002 times)

Offline cleanrock

  • Single posting newcomer
  • *
  • Posts: 7
previous include file opened after global variable changed
« on: January 21, 2009, 11:16:14 pm »
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


Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: previous include file opened after global variable changed
« Reply #1 on: January 21, 2009, 11:39:49 pm »
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++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org