I'm typing python script in new tab (buffer), then I try to execute through build system. What happens now is that build system simply fails. It fails because the build command is referencing $file variable, which is undefined because I didn't save the file.
I expected at least common approach - if file isn't saved and I execute build, then ST should ask me to save the file instead failing.
Even more, I would expect from ST to save the file in temp location and execute build command without asking me to save the file myself.
Hope it's useful