Vscode-mssql: [Suggestion] Create a command to execute only the current statement

Created on 11 May 2017  路  6Comments  路  Source: microsoft/vscode-mssql

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.

enhancement

Most helpful comment

@GabrielDuarteM @mathsalmi this is a great suggestions. We'll take this for the next release.

All 6 comments

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!

Was this page helpful?
0 / 5 - 0 ratings