Remove vertical dotted indentation lines in Visual Studio 2017

前端 未结 4 1228
深忆病人
深忆病人 2021-01-30 11:55

I\'ve just installed Visual Studio 2017 and got strange vertical indentation marks in code editor.

How can I remove them?

P.S. I disabled all extensions

相关标签:
4条回答
  • 2021-01-30 12:38

    In the last version of Visual Studio Code, downloaded in July/2017 (please note that this is not Visual Studio, but as @tambre pointed out, this may help in VS too), the name of this setting changed:

    Go to the menu Code->Preference->Settings and search for "renderIndentGuides". The complete setting should appear as:

      "editor.renderIndentGuides": true,
    

    Change it to false and that's it.

    0 讨论(0)
  • 2021-01-30 12:38

    There is an option under Tools → Options → Text Editor called Show structure guide lines that should remove that.

    0 讨论(0)
  • 2021-01-30 12:41

    A slight update for those using Visual Studio Code, version 1.48.1 (2020-08-19) on Windows 10.

    1. Go to the Settings: Ctrl+, OR File => Preferences => Settings
    2. Search for renderindent
    3. Toggle the settings checkbox for Editor: Render Indent Guides
    0 讨论(0)
  • Just press ctrl+E,S and it will be removed.

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