I’m trying to understand how the “build with” command works behind the curtains (either in automatic mode or not). As far as I’ve seen, each time you use “build with” something is persisted somewhere so that build-system will execute each time you “build” with ctrl+b, it seems this is persisted at a project level and at window level.
But I don’t understand very well what’s doing so, could anyone explain how does “build with” command work? Is there any way to know which is the “active” build system at any time? Is there any way to reset its behaviour so when i press again ctrl+b a new quick_panel with the available build_systems for that selector is spawn?
To be honest, the docs are a little bit short when it comes to explain the magic of this command and I don’t see the source code anywhere in the default package. When I do sublime.log_commands(True)
i can see BuildCommand.run(select=True) is called and also can see the contents of the quick_panel showing the available build_systems for that selector, but that’s it… that doesn’t clarify me how all this works
Thanks in advance.