When I start my subline code 3 always show this error “Error trying to parse settings: Unexpected trailing characters in Packages\user\Perferences.subline-settings:4:1”
anybody has a solution, please…
When I start my subline code 3 always show this error “Error trying to parse settings: Unexpected trailing characters in Packages\user\Perferences.subline-settings:4:1”
anybody has a solution, please…
A sublime-settings file is a JSON dictionary. The error just says, settings have been defined outside the top-level object.
Example:
{
},
"my wrongsetting": true
Maybe global braces are even missing totally.
The way to go is to put everything within braces like so:
{
"my correct setting": true,
"my second correct setting": "hello"
}
(Just in case)
I found this forum a bit tricky to use at the beginning (but not as hard as some, I can’t even join the CodeBlocks forum). The symbol </> up on the tool bar just above the text allows code that you’ve pasted look good/be correctly formatted.
Select the text you want formatting then hit the </> button and it’s done
Once you get the hang of the markdown format, it’s pretty cool.