在Visual Studio代码中显示转义字符

Bru*_*ano 1 visual-studio-code

有没有办法在Visual Studio代码中显示转义字符(如"新行")?

我习惯在Atom中编写代码,显示空白字符的功能会自动显示这种类型的字符:

Atom中的空白字符

我已经在VS Code中使用了"editor.renderWhitespace:true"设置,但它只显示了空格字符.

谢谢!

Eri*_*sot 9

v1.3.0未实现此功能.

这是请求

这些设置在工作区设置中可用:

    "editor.renderWhitespace": true,
    "editor.renderControlCharacters": true,
Run Code Online (Sandbox Code Playgroud)

  • `editor.renderWhitespace`的实际值是''none','boundary'`和`'all'`.在1.7.1版中测试过.按预期工作; 你可以看到FS(字段分隔符),美国(单位分隔符),ETX(文本结束)等. (2认同)