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] Execute SQL tab - run highlighted SQL #202

Open
chrisjlocke opened this issue Apr 30, 2023 · 1 comment
Open

[Suggestion] Execute SQL tab - run highlighted SQL #202

chrisjlocke opened this issue Apr 30, 2023 · 1 comment

Comments

@chrisjlocke
Copy link
Member

One thing I use a lot at work (so force of habit now) is to have a SQL window open that has multiple SQL statements in. Select from this table, select from that table, update that table, etc. I then change the text and run the SQL again by highlighting and pressing F5.
Would it be possible for the Ctrl+Enter (or Enter?) to recognise highlighted text? Obviosuly pressing Enter on highlighted text at the moment deletes the selection, but Ctrl+Enter works .. sort of (but I forgot to close statement 1 with a semi-colon).

image

@justinclift
Copy link
Member

justinclift commented Apr 30, 2023

Hmmm, we should probably see how well the up/down arrow keys work first. I'm "reasonably sure" (~65%) that'll be the easier + better solution.

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

2 participants