关闭Visual Studio中的漂亮列表 [英] Turn off pretty listing in visual studio

查看:82
本文介绍了关闭Visual Studio中的漂亮列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个宏/插件,需要在其中禁用Vb.Net 漂亮列表临时.

I have a macro/addin where I need to disable the Vb.Net pretty listing temporary.

试图记录一个宏,但是它只显示我打开了选项对话框.

Tried to record a macro but it only shows that I opened the options dialog.

也尝试过

Dim props As EnvDTE.Properties = DTE.Properties("TextEditor", "Basic")

但是props集合不包含VB Specific下的任何选项.
(常规"和选项卡"中的选项位于集合的内部)

but the props collection does not contain any of the options under VB Specific.
(The options from General and Tabs are int the collection)

推荐答案

找到了选项列表在我的情况下是

Dim prettyListingProperty = DTE.Properties("TextEditor", "Basic-Specific").Item("PrettyListing")

这篇关于关闭Visual Studio中的漂亮列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆