Show whitespace characters in Visual Studio Code

后端 未结 13 1559
不知归路
不知归路 2020-12-04 05:12

Is it possible to show whitespace characters, like the space character, in Visual Studio Code?

There doesn\'t appear to be an option for it in the settings.js

相关标签:
13条回答
  • 2020-12-04 05:49

    VS Code 1.6.0 and Greater

    As mentioned by aloisdg below, editor.renderWhitespace is now an enum taking either none, boundary or all. To view all whitespaces:

    "editor.renderWhitespace": "all", 
    

    Before VS Code 1.6.0

    Before 1.6.0, you had to set editor.renderWhitespace to true:

    "editor.renderWhitespace": true
    
    0 讨论(0)
提交回复
热议问题