Author Topic: Different codeblocks projects with same filenames  (Read 4586 times)

mariocup

  • Guest
Different codeblocks projects with same filenames
« on: May 03, 2007, 12:48:12 pm »
Hi,

I am using codeblocks with different projects that contain the same filenames. As the tabs in the editor show only the filename I can not distinguish the files. The only way is to edit the properties to see to which project the file belongs.
It would be nice if something like a tooltip is shown (contain the project name) if the mouse moves over the tab of the file.

How does other developers work with such projects. Any suggestion?

Bye,

Mario

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Different codeblocks projects with same filenames
« Reply #1 on: May 03, 2007, 04:35:49 pm »
How does other developers work with such projects. Any suggestion?
Settings -> Editor... -> General settings -> activate "relative filename"
...this should make a little more clear.
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

mariocup

  • Guest
Re: Different codeblocks projects with same filenames
« Reply #2 on: May 03, 2007, 04:46:52 pm »
Hi MortenMacFlay,

sorry, I do not described the scenario in detail.
I am using relative path name. But I have e.g. the following structure:
project1
- h
- src/test.c

project2
- h
- src/test.c

If test.c of project 1 and test.c of project 2 are opened I see for both files the relative path src/test.c and I can not distinguish them.

Bye,

Mario



Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Different codeblocks projects with same filenames
« Reply #3 on: May 03, 2007, 05:25:36 pm »
If test.c of project 1 and test.c of project 2 are opened I see for both files the relative path src/test.c and I can not distinguish them.
Await revision >=3926. I've added an appropriate menu item to the notebook's tab menu.
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

mariocup

  • Guest
Re: Different codeblocks projects with same filenames
« Reply #4 on: May 03, 2007, 05:32:19 pm »
Thx Morten,

I will check it tomorrow. :D

Bye,

Mario