Show whitespace characters in Visual Studio Code

后端 未结 13 1596
不知归路
不知归路 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:40

    Show whitespace characters in Visual Studio Code

    change the setting.json, by adding the following codes!

    // Place your settings in this file to overwrite default and user settings.
    {
        "editor.renderWhitespace": "all"
    }
    

    just like this!
    (PS: there is no "true" option!, even it also works.)

提交回复
热议问题