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

List of desired shortcuts #1196

Open
felipebiox opened this issue Nov 12, 2020 · 2 comments
Open

List of desired shortcuts #1196

felipebiox opened this issue Nov 12, 2020 · 2 comments
Assignees
Labels
announcements Used just for announcements. enhancement
Projects

Comments

@felipebiox
Copy link
Member

Hello folks,

After some comments and tests, we decided to open this issue so the community could propose and decide on which shortcuts should be maintained in OmniDB. This may be constantly updated according to comments and considerations.

Now available:

  • Autocomplete
  • Cancel Query
  • Indent
  • New Inner Tab
  • Remove Current Inner Tab
  • Run Explain
  • Run Explain Analyze
  • Run Query
  • Select Left Inner Tab
  • Select Right Inner Tab

Returning (being re-included):

  • Next Command (Console Tab)
  • Previous Command (Console Tab)
  • Select Left Outer Tab
  • Select Right Outer Tab

Removed:

  • New Connection Tab
  • Remove Current Connection Tab

NEW:

  • empty

Thanks

@felipebiox felipebiox added the announcements Used just for announcements. label Nov 12, 2020
@felipebiox felipebiox added this to Needs Triage in Roadmap via automation Nov 12, 2020
@felipebiox felipebiox self-assigned this Nov 12, 2020
@felipebiox felipebiox pinned this issue Nov 12, 2020
@aleszeleny
Copy link

Hello, in version 2.17, when SHFT + up / down arrow key was pressed, the whole line was selected. This makes it easy to write multiple SQL statements and run one of them without leaving the keyboard to find the mouse and select desired lines. Version 3.0.2b in that case. Is there a new shortcut to select lines in order to be able to select multiple lines SQL without using the mouse to execute it?
It seems there are much more shortcuts coming form a used framework, for example, I've found that 'SHIFT' + 'ALT' + 'up'/'down' arrow duplicates current row, is there a documentation for these "built-in" shortcuts not being configured in application settings??
Thanks, Ales

@phillpafford
Copy link

phillpafford commented Oct 1, 2021

Could I add one additional shortcut to the list? The ability to comment out a line or multiple lines. In PGAdmin you can comment/uncomment using the shortcut ctrl+k (comment) or ctrl+shift+k (uncomment), example of what is would look like

-- uncomment

SELECT 
      field_a
    , field_b
    , field_c
FROM table_a
WHERE condition = TRUE

-- comment

SELECT 
      field_a
-- these fields are now commented and will not be returned when query is executed ** added just for explanation 
--    , field_b 
--    , field_c
FROM table_a
WHERE condition = TRUE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
announcements Used just for announcements. enhancement
Projects
Roadmap
  
Needs Triage
Development

No branches or pull requests

3 participants