Monday, February 10, 2020

Update Sublime Text to automatically default a particular filetype



Found this nugget today on Stack Overflow:
https://stackoverflow.com/questions/7574502/set-default-syntax-to-different-filetype-in-sublime-text-2

In a nutshell, Colin R a user from Stack Overflow suggested that the following steps can be used to set the defaults for all future new files opened in Sublime Text, which is much easier than having to hack around the JSON preferences.

In a nutshell, Sublime Text -> View -> Syntax -> Open all with Current Extension As... ->  Select default option.

Not exactly sure why certain options aren't available as a default, will continue digging into that:

No comments:

Post a Comment