Home Download Buy Blog Forum Support

JavaScript Indentation doesn't respect my settings?

JavaScript Indentation doesn't respect my settings?

Postby Gabri on Fri Dec 30, 2011 9:15 am

I'm having a problem with my JavaScript files indentation & word wrapping. I have set the indentation to "tab size = 4" & also word wrap to wrap, but whenever I opened a JS file the indentation is set to spaces = 2 & there is now word wrap applied. How can I fix this?
Gabri
 
Posts: 7
Joined: Fri Dec 30, 2011 9:11 am

Re: JavaScript Indentation doesn't respect my settings?

Postby uncreative on Wed Apr 11, 2012 6:54 pm

I had to edit JavaScript.sublime-settings in <Packages dir>/JavaScript and set word wrap there. I imaging the indentation settings are also overwritten by some setting file in that directory
uncreative
 
Posts: 1
Joined: Wed Apr 11, 2012 6:51 pm

Re: JavaScript Indentation doesn't respect my settings?

Postby jps on Thu Apr 12, 2012 3:17 am

See Indentation Detection in the documentation: http://www.sublimetext.com/docs/2/indentation.html
jps
Site Admin
 
Posts: 3066
Joined: Wed Mar 19, 2008 12:33 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 19 guests