DataGrip commands with non-US keyboard

Answered

DataGrip editor has command ⌘-/ to "Comment with line comment", in SQL that means adding -- to beginning of line.

On my MacBook Pro with Finnish keyboard, / is located in shift-7. When I press ⌘-shift-7, DataGrip opens search box in Help menu or flashes Code menu title, instead of commenting current line. Selecting "Comment with line comment" from Code menu works as expected.

Is there a keyboard shortcut that works on my keyboard?

 

Walgreens Listens

3 comments
Avatar
Yuriy Vinogradov
Comment actions Permalink

there are some known issues with non-US layouts:

https://youtrack.jetbrains.com/issue/IDEA-90409

https://youtrack.jetbrains.com/issue/IDEA-135536

https://youtrack.jetbrains.com/issue/IDEA-126184

and the workaround is to press keys just like they are on US layout, that should work.

0
Comment actions Permalink

same with German keyboard

0
Comment actions Permalink

"the workaround is to press keys just like they are on US layout, that should work." - nope it doesn't (that is the case on the German keyboard at least) - always have to switch to US keyboard layout first  🙄

0

Please sign in to leave a comment.