Add a default for saveBeforeStart setting
See original GitHub issueAll you have to do is add:
"configurationDefaults": {
"[powershell]": {
"debug.saveBeforeStart": "nonUntitledEditorsInActiveGroup"
}
},
under contributes
in the package.json.
here’s an example: https://github.com/microsoft/vscode/blob/bce4d71f648a963cad905ee0ecc7b353ddd3f199/extensions/markdown-language-features/package.json#L311
Then Untitled file debugging will no longer prompt to save 😃
Note: VS Code made this setting “language-aware” literally today. So this will work starting with tomorrow’s insider build. There’s no downside of this being set for those folks on older versions of VS Code so this change can really go in whenever.
cc @isidorn
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Set default values for fields or controls - Microsoft Support
This article explains how to set a default value for a table field or for a control on a form in an Access...
Read more >How to Set Default Values When You Create a New Record
Did you know you can set default values on records, saving your users steps as well as avoiding the potential for errors in...
Read more >Angular google maps example - ALCA Profumerie
Start by customizing the Sightings layer, changing the default blue pin to a ... menu. npm install @agm/core -save. Before start integrating Google...
Read more >Setting Field Defaults - IBM
How do I set field defaults in Maximo? ... The first way is to set a field default at the database level using...
Read more >Setting default value for specific views - ServiceNow Community
Hi Everyone, is there a way to set different default values for specific views?
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for doing this PR. There was an issue on the VS Code side that I tackled via https://github.com/microsoft/vscode/commit/779f9876bc0a29fa2cfd811e5c613e05c5ec8e21
So now it should work. I tried it out. You can verify with vscode insiders from Monday. Thanks a lot 👏
This is a better solution than the other 😃