How do I fix this error?
Error trying to parse settings: No data in ~/Library/Application Support/Sublime Text 2/Packages/User/JavaScript.sublime-settin
Sublime Text 3 (Build 3059):
My JSON.sublime-settings was containing some XML-structure, no JSON.
Here the previous content of my file:
name
JSON String
scope
meta.structure.dictionary.json string.quoted.double.json
settings
foreground
#E6DB74
I replaced it with the default content from SublimePrettyJson:
{
"use_entire_file_if_no_selection" : true,
"indent" : 2,
"sort_keys" : false,
"ensure_ascii" : false
}
This solved the problem for me. No more annoying error message. OS: Windows 7.
On my Ubuntu machines I never had this error, also not on my Mac.