如何在VS 2010中禁用缩进虚线 [英] How to disable the indentation dotted line in VS 2010

查看:150
本文介绍了如何在VS 2010中禁用缩进虚线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请参阅每个缩进处的这些虚线...
如何关闭它?

see these dotted lines there on every indent...
How do I turn it off?

我一定不小心按下了某些键盘快捷键,但是在设置中的任何地方都找不到.

I must have accidentally hit some keyboard shortcut but I can't find this anywhere in the settings.

对不起,这是一个非常愚蠢的问题,但是这些行确实让我感到困扰,而且我不知道该转向哪里:)

Sorry, this is a really dumb question, but these lines really bother me and I didn't know where else to turn :)

推荐答案

使用以下方法打开/关闭它:编辑>高级>查看空白

Toggle it on/off with: Edit > Advanced > View white space

默认热键通常为 ctrl + E,S (我认为这是针对常规或C#开发人员设置的)

The default hotkey is usually ctrl+E,S (I think this is for General or C# developer settings)

如果使用Resharper,可能会发现需要使用 ctrl + R,ctrl + W (这也可能适用于C ++开发人员设置)

If you use Resharper, you may find you need to use ctrl+R,ctrl+W (this may also apply for C++ developer settings)

(注意,对于不同的键绑定方案,热键可能不同,并且可以在工具">选项">键盘"中进行自定义. (例如Resharper)可能会对其进行修改或添加它们自己的等效项,但是绑定键将显示在上面的菜单上,因此很容易确定PC上的热键)

(Note that the hotkey may be different for different key binding schemes, and can be customised in Tools > Options > Keyboard. Also, Addins and Extensions (e.g. Resharper) may modify them or add their own equivalents. But the bound key will be displayed on the above menu so it's easy to determine what the hotkey is on your PC)

这篇关于如何在VS 2010中禁用缩进虚线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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