Mac OS X comment block - command + slash

Answered

Hi,

I'm new using Rubymine. I want to know how to comment blocks of code but when I use the shortcut (command+slash) help menu is showed.

How can I comment blocks of code in Mac OS X?

 

Best regards.

10 comments

What is your system keyboard layout? What shortcuts are assigned to 'Comment with Block Comment' and 'Help' actions in Preferences | Keymap?

-1

I have this problem, too, Italian layout.

1

Same problem, but in Intellij. Comment block CMD + SHIFT + FORWARD SLASH (or Question mark) clashes with OSX key-mapping. Take a look at https://support.apple.com/en-gb/HT201236 

You can see:

Shift–Command–
Question mark (?)
Open the Help menu.

I'd gladly disable OSX help keymap as I don't care for that, if I knew how... 

0

To diable OSX key mapping just follow below steps:

Click on Apple icon => System Preference => keyboard => shortcuts => App shortcuts=> uncheck show help menu

7

Apart from "show help menu", CMD-/ is also clashing with "hide or show the status bar in Finder" :/

1

I've the same problem, if it matters work fine with mac keyboard with numeric pad but not with the wireless compact one, and i have already disabled the app shortcuts.

Another thing if i press CMD + ( SHIFT + 7 = / ) with opened code menu the shortcut works, but if is close i see che code menu highlighted

0

I have the same problem as Raffaele Decarli. Only this is for my built in Macbook Pro keyboard with Touch bar. 

2

Same problem. Surprised this is still alive.

2

same problem. any solutions yet?

 

 

0

Hello,

there's a corresponding request on our tracker, please check the proposed workaround:

https://youtrack.jetbrains.com/issue/IDEA-212375#focus=streamItem-27-3481946.0-0

0

Please sign in to leave a comment.