Created
May 9, 2012 11:47
-
-
Save DominicFinn/2643950 to your computer and use it in GitHub Desktop.
Vs Macro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Imports System | |
Imports EnvDTE | |
Imports EnvDTE80 | |
Imports EnvDTE90 | |
Imports EnvDTE90a | |
Imports EnvDTE100 | |
Imports System.Diagnostics | |
Public Class Macros | |
Sub SurroundWithKeywordTag() | |
DTE.ActiveDocument.Selection.Text = "<span class=""keyword"">" + StrConv(DTE.ActiveDocument.Selection.Text, VbStrConv.ProperCase) | |
End Sub | |
End Class |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment