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

Keyboard shortcuts for running query (Selected and all) #410

Open
a-paudel opened this issue Aug 7, 2022 · 3 comments
Open

Keyboard shortcuts for running query (Selected and all) #410

a-paudel opened this issue Aug 7, 2022 · 3 comments
Assignees
Labels
enhancement 🚀 New feature or request

Comments

@a-paudel
Copy link

a-paudel commented Aug 7, 2022

Is your feature request related to a problem? Please describe.
Hello just found this app a few days ago, and I think it is amazing. I think this request builds on #359, and will be a productivity boost if there was a keyboard shortcut to run current query.

Describe the solution you'd like
One of the shortcuts I thought would be useful is Ctrl+Enter for running selected query, and I believe less important is Ctrl+Shift+Enter for running the all the queries in the current tab.

Additional context
Also it would be great if the current query could be run without selecting it. For example the VSCode extension SQLTools does this

Screencast.from.07-08-22.20.48.45.webm

Note that I am not selecting the query manually, the extension seems to detect the current query based on where my cursor is positioned (maybe using ; as the delimiter). And i am pressing Ctrl+Enter to go through the queries.

@Fabio286 Fabio286 added enhancement 🚀 New feature or request good first issue Good for newcomers labels Aug 7, 2022
@Fabio286
Copy link
Member

Fabio286 commented Aug 7, 2022

Hi @apaudel96,

by now the shortcut to run selected query, or all, is F5.

Regarding a shortcut to run current query based on the cursor may be a useful and pretty easy implementation, so i will add this request to roadmap.

I'm just working on a feature to allow users to see, edit, add or delete shortcuts. After that i will add new events to bound with shortcuts.

@a-paudel
Copy link
Author

a-paudel commented Aug 8, 2022

Thats great to hear. Thanks for all the hard work.

@a-paudel a-paudel closed this as completed Aug 8, 2022
@Fabio286 Fabio286 reopened this Aug 8, 2022
@Fabio286
Copy link
Member

Fabio286 commented Aug 8, 2022

I keep this issue open as a reminder.

Thanks for appreciation.

@Fabio286 Fabio286 moved this to 📌 To do in Work in Progress Board Aug 17, 2022
@Fabio286 Fabio286 removed the good first issue Good for newcomers label Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🚀 New feature or request
Projects
Status: 📌 To do
Development

No branches or pull requests

2 participants