Here’s what you can do.
Note: These involve modifying registry settings. Please use at your own risk!
You do not need to restart VS
- Go to HKCU\Software\Microsoft\VisualStudio\9.0\Find
- Add a new string called Find result format with a value of $f$e($l,$c):$t\r\n where
$f is the filename
$e is the extension
$l is the line
$c is the column
$t is the text on the line
Now let’s take a look at that Find Results window again:
And here’s the full list of items you can specify in the registry
Files
$p path
$f filename
$v drive/unc share
$d dir
$n name
$e .ext
Location
$l line
$c col
$x end col if on first line, else end of first line
$L span end line
$C span end col
Text
$0 matched text
$t text of first line
$s summary of hit
$T text of spanned lines
Char
\n newline
\s space
\t tab
\\ slash
\$ $
No comments:
Post a Comment