How to disable the indentation dotted line in VS 2010

前端 未结 2 1162

\"enter

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

<
相关标签:
2条回答
  • 2021-02-01 00:44

    This is a very useful feature as it allows you to quickly check longer code sections to see which logic branch that code belongs to.

    To toggle this:

    Edit->Advanced->View White Space or use short cut (CTRL+E + S)

    0 讨论(0)
  • 2021-02-01 00:46

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

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

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

    (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)

    0 讨论(0)
提交回复
热议问题