Working with search results

Hello

Here is the problem : I have a large solution with plenty of projects and folders. When ever I search something, I get results like d:\projectname\development\web\webproject\yetAnotherFolder\AndAnotherOne\help.cs

This is a bit anoying. I would like to see onelevelFoler\Class.cs in the results . With the help of vbdocman , I've managed to get my hands on the results of the search and now I would like to modify it but the window is read only.

I know there is a way to change the format from registry but it cant get the format I need.

Is there a way to edit the results in the "Find results" window

Avi



Answer this question

Working with search results

  • DesertWells

    Thanks

    I saw that in one of Sra Ford's latest post on her blog

    I there a way to do this via VSIP

    Avi


  • TaylorMichaelL

    Hi Avi,

    I'm sorry, the find results only looks in the registry for formatting output currently.

    Regards,

    Fiona


  • jamierichards

    Hi Avi,

    I'm afraid that currently, we can get you most of what you want, but not all. Basically, we can just show the filename, but we can't just show one directory above the file.

    Here is what you do

    Open up Regedit

    Navigate to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\Find

    Add a new String value named "Find result format"

    Set it's value to be $f$e($l):$t\r\n

    $f - filename

    $e - extension

    $l - line number

    $t - line of text containing match

    Here are more options if you want to use them

    $d - directory

    $p - entire file path

    $v - drive

    Note, if you delete this registry key, we go back to the default.


  • Working with search results