Sublime Forum

How to solve parse settings error?

#1

Hi, every time I open sublime text, this appears
''Error trying to parse settings: Expected value in Packages/User/HTML.sublime-settings:4:1 "

What is the problem? Thanks in advanceSublime%20issue

0 Likes

#2

Did you check that file at line 4 char 1?

0 Likes

#3

No, not yet. I’m pretty new to using Sublime so I’m not sure where to find this specific file? thanks

0 Likes

#4

image

Most likely it misses a comma or quote at line 4 char 1 (or the end of line 3).

0 Likes

#5

Ok, I’ll try to find the error. Thanks for your reply

0 Likes

#6

This video also has some details on finding and fixing these kinds of problems:

0 Likes

#7

Thanks, I’ll take a look now. :pray:t3:

0 Likes

#8

I followed the video, but can’t seem it fix the issue. These two appear now.Error

0 Likes

#9

When I go to the User/HTML package and save this appears.

0 Likes

#10

That’s not a setting; settings are "key": “value”,` you only have one thing there. Delete that line and save the file and that problem will go away.

0 Likes

#11

Great, thanks. This issue is resolved.
The other still appears though. When I open the file (see attachment), I can’t change the file. So, do I need to open another one? Thanks again in advance :pray:t3:

0 Likes

#12

It’s a limitation of View Package File - it opens files as read-only. You could try saving it, then closing and re-opening it. Or run view.set_read_only(False) Enter in the ST console (View menu -> Show Console). Or just use https://packagecontrol.io/packages/OverrideAudit instead of View Package File.

0 Likes

#13

Ok, thanks…I’ll try that

0 Likes