User forums > Using Code::Blocks

project file names

(1/1)

DynV:
I just made a search and read Project_file#Project_options but couldn't find how to rename the file name in the tab. I'm adding files from another folder so it add ~60 characters before the file name making each tab about 3 times what a non-project tab width. I have to compare files so switch tab, and I have to keep scrolling the tab bar which won't react to the scroll wheel as Firefox do, making the process long.

I thought of modifying the file properties but the field of In project: isn't modifiable as far as I can tell. I'd also directly change the XML but I don't know which property to change ; I figure it would be something alike <Unit filename="..\..\..\..\..\folder1\folder2\folder3\folder4\name.ext" in_project_filename="name.ext" />

Is there a way to shorten the tab width of a file? Is there a way to really quickly scroll the tab bar?

Thank you for your help

In case the administrator wasn't in #codeblocks when I vehemently talked about the captcha, it's quite difficult. :(

Update 1:

title s/priject file names/project file names/

oBFusCATed:
The option in the recent builds is Settings -> Editor -> General -> Others settings -> Editor title is the file's -> name only
In 10.05 should be something similar.

Jenna:

--- Quote from: DynV on October 25, 2011, 07:25:04 pm ---I just made a search and read Project_file#Project_options but couldn't find how to rename the file name in the tab. I'm adding files from another folder so it add ~60 characters before the file name making each tab about 3 times what a non-project tab width. I have to compare files so switch tab, and I have to keep scrolling the tab bar which won't react to the scroll wheel as Firefox do, making the process long.

I thought of modifying the file properties but the field of In project: isn't modifiable as far as I can tell. I'd also directly change the XML but I don't know which property to change ; I figure it would be something alike <Unit filename="..\..\..\..\..\folder1\folder2\folder3\folder4\name.ext" in_project_filename="name.ext" />

Is there a way to shorten the tab width of a file? Is there a way to really quickly scroll the tab bar?

Thank you for your help

In case the administrator wasn't in #codeblocks when I vehemently talked about the captcha, it's quite difficult. :(

--- End quote ---

You do not tell anything about the version of C::B you use, so I guess it's the 10.05-release.
Look into "Settings -> Editor -> General settings" there should be someting named "The editor's title is" (or something similar, I'm niot sure, as I use C::B from trunk).
Chose the seting that fits your needs.

In recent revisions you can advance through the tabs with the mousewheel or move the tab-bar with mousewheel+Ctrl.
It's configurable via "Settings -> Environment -> Notebooks appearance".
If you have 10.05-release, you can either switch to a nightly build or wait for the next release.

Nice to hear, that the captcha is hard to use :wink: .
Okay not nice for real users, but for the admins/moderators, because we have less spambots that register here.

DynV:
Right on! :D No combination of modifier key with the scroll wheel will scroll the tab bar.

I use Code::Blocks 10.05 rev 6283.

Well if I wasn't so much annoyed, I most likely would have abandoned the forum subscription after 3 tries, it took me 5... Would OpenID slow down the spam? Or perhaps Google/Yahoo/MSN login (please do NOT use Facebook) I got an account on those.

Thanks for the IDE ; I was apprehensive of my teacher to use this one as I was using Eclipse but I find this quite nice.

Navigation

[0] Message Index

Go to full version