24

I'm trying to edit the Sublime Text 3 user preferences (Preferences > Settings) to get it to show all formatting characters (including whitespace). I believe the line

"draw_white_space": "selection"

has to be changed to

"draw_white_space": "all"

but I cannot edit the JSON file. I'm running Ubuntu 16.04 LTS.

  • Are you changing user or default settings file? – George Udosen Feb 9 '17 at 17:14
34

To get your settings picked by sublime you have to edit the Packages/User/Preferences.sublime-settings file.

To access go to:

preferences > settings

The files will open into a split form with default settings which are unalterable on the left of sublime text, and the editable user settings on the right. Now add your settings there:

{
    "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
    "font_size": 10,
    "ignored_packages":
[
    "Vintage"
],
    "save_on_focus_lost": true,
    "draw_white_space": "all"
}

This will override the default settings version of this option.

  • 3
    Hmm, still doesn't draw/show newlines. – flow2k Jan 25 at 22:49
  • 1
    @flow2k - well whitespace and newline are two different things. – kta Apr 4 at 6:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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