News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

When working on multiple files is there a way to have full path display

Started by c_weed, October 01, 2013, 07:24:19 AM

Previous topic - Next topic

c_weed

When working on multiple files at the same time, some files may have the same name. How do others resolve this? Is there an option so that the full path of the current file being edited is displayed at the top of the program, or at least the project it belongs to?

MortenMacFly

Settings - Editor-> General Settings -> Tab "Other settings" -> "Editor title is the file's..." -> select whatever you like.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

c_weed


stahta01

Quote from: c_weed on October 01, 2013, 07:24:19 AM
When working on multiple files at the same time, some files may have the same name. How do others resolve this? Is there an option so that the full path of the current file being edited is displayed at the top of the program, or at least the project it belongs to?

@MortenMacFly: My guess is that like me the OP has the exact same relative path and filename in more than one project.
I would think the simplest fix from the OP view is to add the project name to the "Open File" plugin list.

I only have a hand full of files that are the same so, I live with the problem.

Edit: In the CB (svn 9156), I am using it shows which project the file is in, on the CB Title bar with the File tab selected.

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]