Code › Preferences › Settings or press ⌘ + ,.Render Whitespace (in the Search settings search bar).none.You can also set this value to all to show hidden characters throughout Visual Studio Code, or set it to be displayed for boundary, selection, or trailing.