Home Download Buy Blog Forum Support

expected value error

expected value error

Postby dvorak on Tue Jun 26, 2012 5:24 pm

Hey looked online and found a bunch of similar articles and "expected value" errors but none pertaining to my setup
error is on 1:1 (only line), here's what's in the "Base File.sublime-settings", what does this need to be changed to?

Code: Select all
align_indent: true
dvorak
 
Posts: 3
Joined: Tue Jun 26, 2012 5:20 pm

Re: expected value error

Postby C0D312 on Tue Jun 26, 2012 5:37 pm

1. The files should be wrapped in {...}
2. You shouldn't be editing "Base File.sublime-settings." All your changes should be in "User/Preferences.sublime-settings"
3. I don't thing align_indent is a valid command but I could be wrong.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: expected value error

Postby dvorak on Tue Jun 26, 2012 5:50 pm

wrapping them in {align_indent: true} error's still but this time with 1:2
dvorak
 
Posts: 3
Joined: Tue Jun 26, 2012 5:20 pm

Re: expected value error

Postby quarnster on Tue Jun 26, 2012 6:29 pm

The key needs to be a json string. Try {"align_indent": true}.

Also "Base File.sublime-settings" has retired and is now "Preferences.sublime-settings", so you might have to change that file instead.
quarnster
 
Posts: 389
Joined: Tue Nov 29, 2011 11:34 am

Re: expected value error

Postby dvorak on Tue Jun 26, 2012 6:48 pm

quarnster wrote:The key needs to be a json string. Try {"align_indent": true}.

Also "Base File.sublime-settings" has retired and is now "Preferences.sublime-settings", so you might have to change that file instead.


that did it, odd that align_indent isn't in my Pref's file, I don't actually remember editing this file but thanks for the help
dvorak
 
Posts: 3
Joined: Tue Jun 26, 2012 5:20 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 20 guests