2

Is there a way to show escape characters (like "new line") in Visual Studio Code?

I was used to write code in Atom and it's feature of displaying whitespace characters automatically show this type of chars:

Whitespace chars in Atom

I'm already using the "editor.renderWhitespace : true" setting in VS Code, but it only shows me the space characters.

Thanks!

1 Answer 1

15

v1.3.0 does not implement this feature.

Here is the request

These settings are available in workspace settings:

    "editor.renderWhitespace": true,
    "editor.renderControlCharacters": true,
2
  • 2
    Actual values for editor.renderWhitespace are 'none', 'boundary', and 'all'. Tested in version 1.7.1. works as expected; you can see FS(Field Separator), US(Unit Separator), ETX(End of Text), and so on. Commented Nov 21, 2016 at 1:32
  • @VictorBarrantes doesn't show NUL, which is strange since it is a part of the ASCII control character scheme.
    – addohm
    Commented Oct 9, 2018 at 3:02

Not the answer you're looking for? Browse other questions tagged or ask your own question.