"Unexpected trailing symbol" in elevated state when trying to change settings

I try to change my sublime theme / color scheme and I get 'unexpected trailing characters

When I try to save /User/Preferences.sublime-settings with this configuration

{
    "theme": "Afterglow-green.sublime-theme",
    "color_scheme": "Packages/Theme - Afterglow/Afterglow.tmTheme"
}

{
    "tabs_small": true
}

I can’t understand why I get this message?

+4
source share
2 answers

Your settings files in Sublime (all of them) must be valid JSON . Your should be as follows:

{
    "theme": "Afterglow-green.sublime-theme",
    "color_scheme": "Packages/Theme - Afterglow/Afterglow.tmTheme",
    "tabs_small": true
}

, ( ) , {}. , : , . , .

, "tabs_small"? Sublime .

+11

, .

Sublime, C:/Users/{Your User}/AppData/Roaming/Sublime Text 3/Packages/User Plain text.sublime-settings.

JSON .

+1

Source: https://habr.com/ru/post/1621528/


All Articles