Is it possible to show whitespace characters, like the space character, in Visual Studio Code?
There doesn't appear to be a setting for it (though it is one in several other code editors like Atom or Notepad++).
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