Author Topic: Search results problem with long pathnames  (Read 2133 times)

Graeme

  • Senior Community Member
  • Posts: 2449
  • Hero Points: 323
Search results problem with long pathnames
« on: October 08, 2019, 01:30:27 am »
In search results, if you have files with long pathnames, the name of a file is often not visible because it is too far to the right.  It would be helpful if the filename e.g. abc.txt, appeared before the pathname instead of after.

Graeme

  • Senior Community Member
  • Posts: 2449
  • Hero Points: 323
Re: Search results problem with long pathnames
« Reply #1 on: November 09, 2019, 12:45:51 pm »
Also the backup history browser has the same problem   -  plus unlike the search results window, there is no horizontal scrollbar.

Graeme

  • Senior Community Member
  • Posts: 2449
  • Hero Points: 323
Re: Search results problem with long pathnames
« Reply #2 on: December 12, 2019, 12:14:07 am »
If putting the filename first is too much work, then how about an option to shrink the pathname/filename to the available space.

jporkkahtc

  • Senior Community Member
  • Posts: 1960
  • Hero Points: 185
  • Text
Re: Search results problem with long pathnames
« Reply #3 on: December 16, 2019, 09:28:59 pm »
I think that the problem with this is that VS parses the search result text for things like filenames.
So if it shrunk the full path with some sort of abbreviation, then that parsing code would fail.

Graeme

  • Senior Community Member
  • Posts: 2449
  • Hero Points: 323
Re: Search results problem with long pathnames
« Reply #4 on: December 16, 2019, 09:53:36 pm »
ah, ok.  I'll probably try a symbolic link or drive mapping.  I have some of my source code on a OneDrive folder so I can get to it at home without a VPN, and the pathname is really long.