It is necessary to make the build system installed depending on the file extension. I have 2 types of .jade and .scss . I downloaded the SublimeBuildOnSave extension, but apparently this is not what I need

  • In Sublime Text, you can limit the effect of a Build System, not by extension, but by scope . For example, for jade - if you use the Jade plugin - add the "selector": "test.jade", line to your .sublime-build file "selector": "test.jade", How to configure the automatic selection of the Build System, I described in this answer . Thank. - Sasha Chernykh
  • SublimeBuildOnSave is a useful plugin for those who use preprocessors. After installation — and sometimes settings — for compilation, it suffices to press Ctrl+S in the preprocessor file, not Ctrl+S and Ctrl+B , which saves time. Thank. - Sasha Chernykh
  • I apologize, it was sealed in the first message "selector": "text.jade" , and not test . - Sasha Chernykh
  • @ sashcherny And about scss ? - Herrgott
  • @ sasha { "cmd": ["jade", "$file", "--pretty"], "selector": "source.jade", "osx": {"path": "/usr/local/bin:$PATH"}, "windows": {"shell": "true"} } Here is my jade build - Herrgott

0