Sublime Forum

Starting error

#1

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…

0 Likes

#2

paste the file content here. or fix it by yourself at its line 4 char 1.

0 Likes

#3

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"
}
0 Likes

#4

(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.

0 Likes