ST-AutoSetSyntax icon indicating copy to clipboard operation
ST-AutoSetSyntax copied to clipboard

Helps you set the syntax for a view automatically in various ways.

ST-AutoSetSyntax

Required ST Build GitHub Actions Package Control GitHub tag (latest by date) Project license GitHub stars Donate to this project using Paypal

AutoSetSyntax helps you set the syntax for a view automatically in various ways:

  • Default syntax for new files and build outputs.
  • Detecting the syntax when modifying the file.
  • Trimming unimportant suffixes from the filename.
  • Assigning syntax for Sublime Text syntax test files.
  • Assigning syntax by the first line.
  • User-defined rules.
  • (Experimental) Deep learning based syntax detection. (Magika)

Installation

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

Documents

  • https://jfcherng-sublime.github.io/ST-AutoSetSyntax/