Sublime Forum

AutoSetSyntax v2


AutoSetSyntax v2 has been released.
It’s thoroughly rewritten to provide new features and utilize ST 4 APIs and Python 3.8.

If you are new, AutoSetSyntax helps you set the syntax for a view automatically in various ways:

  • Default syntax for new files.
  • Detecting the syntax when modifying the file.
  • Trimming unimportant suffixes from the filename.
  • Assigning syntax by the first line.
  • User-defined rules.


This package is available on Package Control by the name of AutoSetSyntax.

If you are already using v1 with ST 4, it will be auto upgraded to v2.
To migrate your v1 settings, check the migration guide.



No File Type Options When saving