Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Create a command to execute only the current statement #870

Closed
GabeDuarteM opened this issue May 11, 2017 · 6 comments
Closed
Assignees

Comments

@GabeDuarteM
Copy link

  • MSSQL Extension Version:1.0.0
  • VSCode Version:1.12.1
  • OS Version:Windows 10

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.

@GabeDuarteM GabeDuarteM changed the title [Suggestion] Create a command to execute current statement [Suggestion] Create a command to execute only the current statement May 11, 2017
@mathsalmi
Copy link

mathsalmi commented May 12, 2017

That'd be handy indeed. Postico and SQuirreL SQL do this very well perhaps they may serve as inspiration.

@GabeDuarteM
Copy link
Author

Just as another open-source example, HeidiSQL has this feature as well

@kburtram
Copy link
Member

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

@kburtram kburtram self-assigned this May 15, 2017
@kevcunnane kevcunnane added this to the MSSQL 1.1 Release milestone May 16, 2017
@4mitch
Copy link

4mitch commented May 25, 2017

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

@kburtram
Copy link
Member

The C# portion of this change is merged with microsoft/sqltoolsservice#412. I'll merge the typescript portion tomorrow #934.

@kburtram
Copy link
Member

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants