Can I make it so that F5 doesn't "run" in VS any more? I'm too used to running queries in SSMS and then moving to VS and running my project when I'm not ready.
A case of Premature Execution?
Advanced customization# To configure keyboard shortcuts through the JSON file, open Keyboard Shortcuts editor and select the Open Keyboard Shortcuts (JSON) button on the right of the editor title bar. This will open your keybindings.json file where you can overwrite the Default Keyboard Shortcuts.
F5 is used to start your project in debug mode and Ctrl-F5 is used to start your project without debug mode.
The reason for not showing up the Extension Development Host window by pressing F5 in the first place is because my VS code workspace is not inside the project directory. The project directory contains the setup for launching the Extension Development Host window in launch.
F12: Open File - Visual Studio Marketplace.
Go to Tools|Options, then select Keyboard under the Environment tree. In the listbox in the window, locate the Debug.Start command - you should see that it is mapped to the F5 key.
Click the Remove button to unmap the key.
Tools -> Options -> Environment -> keyboard
then below "Show commands containing" label type 'debug.start' w/o quotes
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With