I have created a build system for QML in sublime, so selecting that build system and doing a ctrl+B builds the qml code for me. But every time I switch between different type files (eg. a .py file and .qml file) I have to change the build system from QML to Automatic and vice versa. What can I do so that sublime automatically recognizes a .qml file and selects the appropriate build-system when Automatic is selected? (which for my .qml files should be the QML.sublime-build that I created)
Here is my build system for qml: (in the file "QML.sublime-build")
{
"shell_cmd": "qmlscene.exe $file_name"
}