vscode-as3mxml icon indicating copy to clipboard operation
vscode-as3mxml copied to clipboard

Ability to cancel a Quick Compile task

Open esidegallery opened this issue 2 years ago • 2 comments

I have a few very large projects, which can take up to 30 seconds to compile. Occasionally I hit the Quick Compile shortcut only to find I missed something, but have to wait until the process completes before recompiling. Using the Quick Compile shortcut again during a running task doesn't cancel the first task and usually results in an error. How easy would it be to implement a cancel command?

esidegallery avatar Jul 18 '22 13:07 esidegallery

There's no ability to cancel built into the compiler shell, as far as I know. However, the compiler shell is a separate process, so I guess it's hypothetically possible to simply kill the running process to stop the compile. It's already started on demand, so killing it shouldn't have serious side effects.

joshtynjala avatar Jul 18 '22 16:07 joshtynjala

OK, good to know, thanks!

esidegallery avatar Jul 19 '22 07:07 esidegallery