Home Download Buy Blog Forum Support

ST2 changes syntax and spacing for no reason?

ST2 changes syntax and spacing for no reason?

Postby bgallagh3r on Wed Jan 18, 2012 3:47 pm

While I am working in a PHP file, ST2 changes to HTML5 randomly. Not sure if it is actively trying to guess the syntax by the tags i'm using or what, but it's annoying as heck.

It also randomly changes my tab spacing. I have it set to spaces only,and 4 spaces per tab in the user settings, but while I'm working it will somehow change to 2 spaces out of nowhere.

Any suggestions as to why these are happening? Its pretty annoying.
bgallagh3r
 
Posts: 2
Joined: Wed Jan 18, 2012 3:44 pm

Re: ST2 changes syntax and spacing for no reason?

Postby jps on Wed Jan 18, 2012 10:26 pm

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


Return to Technical Support

Who is online

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