Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: mariocup on May 03, 2007, 12:48:12 pm

Title: Different codeblocks projects with same filenames
Post by: mariocup 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
Title: Re: Different codeblocks projects with same filenames
Post by: MortenMacFly 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.
Title: Re: Different codeblocks projects with same filenames
Post by: mariocup 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


Title: Re: Different codeblocks projects with same filenames
Post by: MortenMacFly 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.
Title: Re: Different codeblocks projects with same filenames
Post by: mariocup on May 03, 2007, 05:32:19 pm
Thx Morten,

I will check it tomorrow. :D

Bye,

Mario