Sublime Forum

ST2 changes syntax and spacing for no reason?

#1

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.

0 Likes

#2

See the Indentation Detection section: sublimetext.com/docs/2/indentation.html

0 Likes