I think I found an answer. I created the following macro:
Option Strict Off
Option Explicit Off
Imports System
Imports EnvDTE
Imports EnvDTE80
Imports EnvDTE90
Imports System.Diagnostics
Public Module RecordingModule
Sub CleanupImplementedInterface()
DTE.ActiveDocument.Selection.LineDown(True, 7)
DTE.ActiveDocument.Selection.Text = " {get"
DTE.ActiveDocument.Selection.DeleteLeft(3)
DTE.ActiveDocument.Selection.Text = " get; set; }"
DTE.ActiveDocument.Selection.CharRight
DTE.ExecuteCommand ("Edit.Replace")
DTE.Find.FindWhat = " {"
DTE.Find.Target = vsFindTarget.vsFindTargetCurrentDocument
DTE.Find.MatchCase = False
DTE.Find.MatchWholeWord = False
DTE.Find.Backwards = False
DTE.Find.MatchInHiddenText = True
DTE.Find.PatternSyntax = vsFindPatternSyntax.vsFindPatternSyntaxLiteral
DTE.Find.Action = vsFindAction.vsFindActionFind
If(DTE.Find.Execute() = vsFindResult.vsFindResultNotFound) Then
Throw New System.Exception("vsFindResultNotFound")
End If
DTE.Windows.Item("{CF2DDC32-8CAD-11D2-9302-005345000000}").Close
DTE.ActiveDocument.Selection.CharLeft
End Sub
Sub Brackets()
DTE.ActiveDocument.Selection.Text = "<%="
End Sub
End Module
Then in the IDE, I opened Tools > Options > Environment > Keybord
In the "Show commands containing:" textbox I typed the name of my macro.
I then selected "Html source editor" in the "Use new shortcut in:" dropdown box and pressed the shortcut key Alt-B.
Now, whenever I need a bracket, instead of using intellisense, I just press Alt-B in the editor.
Ugly, but workable, solution. Hopefully they will fix this in 2010. Haven't looked.