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

[Feature]: Comment Line Shortcut key for "Execute SQL" tab and Shortcut Key selection screen #3622

Open
kalpha2 opened this issue Apr 28, 2024 · 3 comments

Comments

@kalpha2
Copy link

kalpha2 commented Apr 28, 2024

Describe the new feature

Apologies if these are present somewhere or in a newer version than I use with Debian 11 currently but I have not found from quick search of doco and wiki for a shortcut key that allows current line or selected range to be commented or uncommented in the Exexute SQL tab contents.
Also a page to edit the preferred uses of shortcut keys would be great, as everyone has their preferred key combinations for such things.

Does this feature exist in another product or project? Please provide a link

No response

Do you have a screenshot? Please add screenshots to help explain your idea.

No response

@chrisjlocke
Copy link
Member

chrisjlocke commented Apr 29, 2024

If you hover your mouse over the button, a tooltip appears.

image

In this tooltip, it says pressing Ctrl+/ will perform the action of the button.

Have you tried pressing Ctrl+/ ?

You mention a 'newer version' but not what version you're currently using.

image

If you click 'Help' and 'About', your path will be enlightened.

@kalpha2
Copy link
Author

kalpha2 commented Apr 29, 2024

Thank you Chris, Apologies, don't know how I missed that, I do see it now.
fyi the current version in Deb11 is v3.12.1
Is there an option to change the shortcut key somewhere?

@chrisjlocke
Copy link
Member

You should be able to use the latest version of 3.13.rc1. That won't address your issue, but 3.12.1 is so old, it probably creaks when you open it... ;)

No, there is no way to change shortcut keys. The way Qt has been implemented, all the shortcut keys are hard-coded in files which are then compiled into the application. They can't easily be changed. Writing a custom shortcut-key map would involve a fair bit of work. :(

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