How can Sublime Text show non printable characters (I'm interested in SPACEs and TABs)?
In order to do this in Sublime you need to open your preferences file (On OSx that is ⌘+, ) and insert the line "draw_white_space": "all" . By default it is set to "selection" and the other option is for it to be "off".
In Sublime Text 2, you can use CTRL + SHIFT + P to access quickly to some functionalities. Type tabs and you will find the View: Toggle Tabs functionality.
Space, tab, line feed (newline), carriage return, form feed, and vertical tab characters are called "white-space characters" because they serve the same purpose as the spaces between words and lines on a printed page — they make reading easier.
In Visual Studio for Windows, to display whitespace characters (tabs, spaces, etc) you simply press Ctrl + R, Ctrl + W.
To view whitespace the setting is:
// Set to "none" to turn off drawing white space, "selection" to draw only the // white space within the selection, and "all" to draw all white space "draw_white_space": "selection",
You can see it if you go into Preferences->Settings Default. If you edit your user settings (Preferences->Settings - User) and add the line as per below, you should get what you want:
{ "color_scheme": "Packages/Color Scheme - Default/Slush & Poppies.tmTheme", "font_size": 10, "draw_white_space": "all" }
Remember the settings are JSON so no trailing commas.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With