Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Commenting code out/in IntelliJ IDEA german keyboard

After updated IntelliJ IDEA to 2017.1, I can not any more comment out/in code. I am using a german keyboard and until yet i could use a workaround to comment code in/out with the shortcut "CMD" + "-" but now it isn't working any more. The shortcuts "CMD" + "/" isn't working.

Any ideas to solve this problem on a german keyboard?

like image 218
squashpat Avatar asked Jan 20 '26 01:01

squashpat


1 Answers

You can either reassign this action to the working shortcut in the Keymap preferences or use this workaround:

  1. Install JB SDK Bintray Downloader plugin. You can find it in the plugin repository right in the IDE settings.
  2. Find the action "Get JB SDK from BinTray" (On Mac you can use Cmd + A shortcut to find the action by name)
  3. Choose appropriate Runtime version (build 795 or later)
  4. Download it
  5. Install it
  6. Restart IntelliJ IDEA (it should happen automatically)
  7. Check the IDE About dialog to be sure that the IDE is bootstrapped with the desired version of the runtime

To enable OpenJDK behavior go to Help | Edit Custom Properties, add the following property into the file:

com.jetbrains.use.old.keyevent.processing=true

like image 59
CrazyCoder Avatar answered Jan 22 '26 14:01

CrazyCoder



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!