Sublime Forum

Expected value in Packages/User/Plain

#1

Just down loaded version 4 and got this error. Went to preferences and found an open bracket on line 6. Read that a few people were able to fix the problem deleting the bracket. Couldn’t find a way to change the settings to user. I am working on a Mac air.

Any suggestions would be appreciated.

Error trying to parse settings: Expected value in Packages/User/Plain text.sublime-settings:2:2

0 Likes

#2

All *.sublime-settings files must be valid JSONC files with an top-level object.

An empty settings file must at least contain:

{
}

ST interprets its content as key-value pairs.

{
  "key-with-string-value": "value",
  "key-with-list-value": [],
  ...
}

I’d recommend PackageDev which provides better syntax highlighting, completions and hover popups to make life easier when working with ST related resources.

1 Like