T O P I C R E V I E W |
xMRi |
Posted - Jan 12 2018 : 02:52:39 AM Hello!
Idea for Open file in Solution (Sift+Alt+O) to show relative paths.
Sometimes I have long path names. But the only the root path for the project is long. How about an option that shows relative path names, based on the current solution.
Assume the base solution is D:\Dev\Root\Projects\Solution and projects D:\Dev\Root\Projects\Solution\Proj1 D:\Dev\Root\Projects\Solution\Proj2
There might be a common folder like this D:\Dev\Root\Common
Files can be shown as .\Proj1\main.cpp .\Proj2\main.cpp
Or as [Solution]\Proj1\main.cpp [Solution]\Proj2\main.cpp
Additional gimic ;) Also for the depth of 2 directories (adjustable) also folders up the tree may be shown as relative paths. [Solution]\..\..\Common\CommonHeader.h
For complex directory structure this would help to identify files.
Happy coding Martin
|
3 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Jan 15 2018 : 08:26:37 AM I suspected that path filtering would not help so much, but worth mentioning in case it helped. I have definitely seen times and places where some path information would make it a lot clearer. |
xMRi |
Posted - Jan 13 2018 : 1:25:44 PM The way using another part of the path is OK.
But assume a real complex C# project. You have 5 files in 5 folders names model.cs ;)
Now assume the base pathname is long... You path column may not be large enough to show all needed information.
Just another reason for my idea. |
feline |
Posted - Jan 13 2018 : 08:39:25 AM A very interesting thought, and it makes a lot of sense. It turns out someone else suggested this a while ago, but I prefer the solution as the base directory approach, it seems clearer, at least when it works:
case=16131
I have made a note on the case about your suggestions here. For now, in the cases where you know the directory name you are looking for, are you aware you can use "\Proj1" as one of the search terms, to just search for files with this as part of their path? |