User forums > General (but related to Code::Blocks)
About the project explorer sidebar
stahta01:
Try checking "Display Folders as on Disk" under "Project Tree"
Tim S.
dmoore:
This sounds interesting, so I made a patch that will do what you want. It adds the menu option "Project -> Project Tree -> Show Filenames only". Seems to work, but I haven't tested extensively.
The patch was taken from latest svn of the debugger branch (hopefully, would also work on trunk)
oBFusCATed:
dmoore: have you tested it with something like:
--- Code: ---src/file1.cpp
src/path1/file1.cpp
src/path2/file1.cpp
--- End code ---
:lol:
dmoore:
--- Quote from: oBFusCATed on February 26, 2011, 08:42:33 pm ---dmoore: have you tested it with something like:
--- Code: ---src/file1.cpp
src/path1/file1.cpp
src/path2/file1.cpp
--- End code ---
:lol:
--- End quote ---
It "works" (as well as it can). Two identical names appear in the tree each referring to a distinct item. Sort order is weird though.
dmoore:
updated patch. sorts by filename instead of full path if "show filename only" is selected.
one feature is still missing: the tree should show a tooltip giving the full path to help user distinguish files with identical names.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version