How do I stop Auto-Complete during macro execution in Visual Studio?
I am working on a couple of macros and whenever I am insterting text the Auto-Complete functionality is running and causing problems.
This is also described in the comments of this question.
I can manually disable the开发者_开发问答 autocomplete check boxes that are interfering but that isn't really what I am looking for.
Is this where the Undo Context stuff is used?
This will turn it off:
Dim HTMLprops As Properties
Dim aProp As EnvDTE.Property
HTMLprops = DTE.Properties("Texteditor", "HTML Specific")
aProp = HTMLprops.Item("AutoInsertCloseTag")
aProp.Value = False
精彩评论