How to customise file type to syntax associations in Sublime Text?

前端 未结 6 1328
时光说笑
时光说笑 2020-11-28 17:30

I\'d like Sublime 2 editor to treat *.sbt files (to highlight syntax) as Scala language, same as *.scala, but I can\'t find where to set this up. Do you happen to know?

6条回答
  •  温柔的废话
    2020-11-28 18:23

    There is a quick method to set the syntax: Ctrl+Shift+P,then type in the input box

    ss + (which type you want set)

    eg: ss html +Enter

    and ss means "set syntax"

    it is really quicker than check in the menu's checkbox.

提交回复
热议问题