Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Preview Control CharactersNew to Visual Studio Code? Get it now.
Preview Control Characters

Preview Control Characters

nestalk

|
5,312 installs
| (3) | Free
Show invisible control characters in file
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Preview Control Charactors

The preview-control-characters Visual Studio Code extension lets you view the control characters of a text file using the control pictures block of unicode.

To run the extension. You need to have a file open.

Press F1 on Windows (cmd+P on Mac), type Preview Control Characters, press Enter

Setting additional options

  1. choose 'Preference -> UserSettings'
  2. Find: Preview Control Characters in Default Settings
  3. Copy and paste to settings.json

example:

//-------- Preview Control Characters Option Configuration --------

// add a new line character after a carrige return
"previewControlCharacters.newLineAfterCR": false,

// add a new line character after a line feed
"previewControlCharacters.newLineAfterLF": true,

// show preview window using monospaced fonts
"previewControlCharacters.monospaceFont": false,

// translate spaces to control character
"previewControlCharacters.translateSpace": true
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft