vs2010

There are 2 entries for the tag vs2010

VS2010 Find In Solution Explorer Hotkey/Toolbar Button

First I found this blog post – which worked but only after some tinkering. There is a comment there that describes a better (simpler) solution, IMO. Step 1: Create the following macro, which simply toggles (twice) the existing TrackActivityinSolutionExpl... command – this is the same command that happens if you turn on solution explorer tracking in Visual Studio options, except here we’re turning it on and then immediately off: Public Sub SelectCurrentItemInSolution... DTE.ExecuteCommand("View.TrackActivityinSolutionExpl...")...

Posted On Wednesday, August 31, 2011 10:29 AM | Feedback (2)

Visual Studio 2010 Find and Replace With Regular Expressions

Here is a quick notes about using regular expressions in the VS2010 Find Replace dialog. 1. To create a backreference, use curly braces (“{“ and “}” ) instead of regular parentheses. 2. To use the captured backreference, use \1\2 etc, where \1 is the first captured value, \2 is the second captured value, etc. Example: I want to find*: info.setFieldValue(param1, param2); and replace it with: SetFieldValue(info, param1, param2); To do this, I can use the following find/replace values: Find what: {[a-zA-Z0-9]+}.setFieldValu...

Posted On Thursday, March 10, 2011 5:07 PM | Feedback (1)

Copyright © Lance Robinson

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski