microsoft / vscode-makefile-tools

MAKE integration in Visual Studio Code
Other
185 stars 55 forks source link

Add option to disable Build Failed. Do you want to continue anyway? Dialog option #426

Open meconlen opened 1 year ago

meconlen commented 1 year ago

I would like an option to disable the dialog box "Build failed. Do you want to continue anyway?" that appears when a build fails. the option could allow for "always yes" or "always no" choices.

andreeis commented 1 year ago

@meconlen, thank you for the feature idea. We may not be able to implement this immediately and we will monitor the reactions from the community to help with our triage decisions. In the meantime, why would you need such a setting and why the current behavior is inconveniencing you? You are trying to run in terminal or debug, correct? We currently have a similar setting "makefile.buildBeforeLaunch" which defaults to true. It's not what you asked but when false is the equivalent of your "always yes" in case of build failure. In case of "always no" or build success it won't work the same.

meconlen commented 1 year ago

I perform a lot of "lean on the compiler" refactoring and in this case I know the build is expected to fail over and over again. The dialog box gets in the way of the output and it's a nuisance so it would be nice to be able to disable it. There never seems to be a time where a build fails and I want to run the post-build actions.

andreeis commented 1 year ago

@meconlen, does setting "makefile.buildBeforeLaunch" to false help you in any way and without breaking other scenarios?