Just like the CTRL+Shift+E executes the whole script, as a user, i think it would be nice to have another shortcut to execute only the current statement (the one where the cursor is lying), so that i would't have to select every statement that i want to run. This would improve my overall workflow when using that plugin.
That'd be handy indeed. Postico and SQuirreL SQL do this very well perhaps they may serve as inspiration.
Just as another open-source example, HeidiSQL has this feature as well
@GabrielDuarteM @mathsalmi this is a great suggestions. We'll take this for the next release.
Dreaming of this since moved to SQL Server from Oracle PL/SQL Developer with it's ";"
btw I think this issue is linked to #583
The C# portion of this change is merged with https://github.com/Microsoft/sqltoolsservice/pull/412. I'll merge the typescript portion tomorrow https://github.com/Microsoft/vscode-mssql/pull/934.
@GabrielDuarteM I'll close this now since this suggestion is available in this private build https://github.com/Microsoft/vscode-mssql/releases/tag/v1.1.0-alpha.4. Please let me know if there are any issues with the implementation. Thanks!
Most helpful comment
@GabrielDuarteM @mathsalmi this is a great suggestions. We'll take this for the next release.