DataGrip commands with non-US keyboard Follow
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?
Please sign in to leave a comment.
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.
same with German keyboard
"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 🙄