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
Martin Richter [rMVP] WWJD http://blog.m-ri.de "A well-written program is its own heaven; a poorly written program is its own hell!" The Tao of Programming
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?
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.
Martin Richter [rMVP] WWJD http://blog.m-ri.de "A well-written program is its own heaven; a poorly written program is its own hell!" The Tao of Programming
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.