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

Graeme

  • Senior Community Member
  • Posts: 2796
  • Hero Points: 347
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: 2796
  • Hero Points: 347
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: 2796
  • Hero Points: 347
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: 2620
  • Hero Points: 210
  • 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: 2796
  • Hero Points: 347
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.