Sublime Forum

Version 3143 Auto indentation changing all the file

#1

I work in a versioned repository. When i change one code, i always do command auto indent from sublime (therefore, all files are already indented). With the newest version, when i change some text and do the auto indent this change all the file.

Is there a way to use an old version of indentation?

Taking advantage, the new design stayed very nice!

0 Likes

#2

yeah just override your indentation rules (.tmPreferences file) with an older version. If you are talking about one of the shipped packages, you can look in https://github.com/sublimehq/Packages

1 Like

#3

Tnks for response @kingkeith.

I do not know if I’m doing it right. I work with HTML/PHP syntax, i searched the repos that you send but nothing was changed in the last months in tmPreferences. I need to install an older version and search/replace this files and disable update?

Anyway, here is a photo of how the indentation occurred for me, i thing something could be wrong.

And this causes all the lines below to be changed to match the new indentation.

0 Likes

#4

thanks for reporting, I’ve made a PR to fix this:

1 Like