Search code examples
visual-studiovisual-studio-macrosbraces

DTE -> Getting Matching Brace in Visual Studio Macros?


Is there any function available to get the position of the matching brace/quote/parenthesis/bracket for the current selection?

(I'm looking for the macro equivalent of the Edit.GotoBrace function.)


Solution

  • Never mind, I totally forgot about the DTE.ExecuteCommand command.