Steps to Reproduce:
When I have written a query, it would be great to be able to F5 and execute it, like other Run scenarios in code
Can't you bind the mssql.runQuery command to f5 and have then "when" clause as "editorTextFocus && editorLangId == 'sql'"?
I _could_, but I'm curious why it doesn't do it for me? (I didn't actually know I could do that sort of mapping until just now!
Ctrl+Shift+E seems to be the default, but that doesn't match SSMS ... but this worked, thanks :)
@Offbeatmammal Like @MartinRiddar correctly pointed out, you can set your own keybindings. We don't want to override the default F5 behavior of vscode since a lot of users are used to it already, and hence the Ctrl/Cmd + Shift E shortcut for Execute Query
Most helpful comment
Can't you bind the mssql.runQuery command to f5 and have then "when" clause as "editorTextFocus && editorLangId == 'sql'"?