开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜