Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have a MacBook with a French AZERTY keyboard. On this keyboard, the forward slash ('/') is over the ':' character, so I have to do: Shift + : to get the /.

However in Eclipse there is a useful shortcut to comment out blocks of code: you do + / to put "//" at the beginning of every line of selected code; and Shift + + / to put /* and */ at the beginning and the end of selected lines, thus commenting out the block of code.

But as I already need to press Shift to get the /, when I do Shift + + :, it understands + /, and I get the first shortcut.

I can't seem to get the second shortcut. I even tried Shift + Shift + + :, using both Shift keys on my keyboard, and of course it didn't work.

I worked around that by changing Eclipse shortcuts, but I was curious to know if there is a way to achieve that (reaching Shift + /).

I hope you clearly understand this is a matter of the highest importance...

share|improve this question
    
I suggest asking the Eclipse people. If there isn't such a shortcut now for your keyboard, they may be interested in creating one for a future version. –  GEdgar Aug 14 '11 at 20:43
add comment

1 Answer 1

As described in several posts, the Ukelele program works to redefine the keyboard if you don't like the default layout.

You can at least find the right key using the Keyboard Viewer - steps on that are here: Where's the # key in Lion

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.