2
votes

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?

1

1 Answers

4
votes

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