Commenting code out/in IntelliJ IDEA german keyboard - intellij-idea

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?

You can either reassign this action to the working shortcut in the Keymap preferences or use this workaround:
Install JB SDK Bintray Downloader plugin. You can find it in the plugin repository right in the IDE settings.
Find the action "Get JB SDK from BinTray" (On Mac you can use Cmd + A shortcut to find the action by name)
Choose appropriate Runtime version (build 795 or later)
Download it
Install it
Restart IntelliJ IDEA (it should happen automatically)
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

Related

InteliJ Shortcut Maven clean install

I try to find a way to do the following steps in InteliJ by using only keyboard:
alt+ F1 --> F
Currently I'm clicking CTRL + Left Mouse to choose clean and install.
Is there a way to do this just by using the keyboard?
Thanks for any help.
If you are looking for existing shourtcut or tring to add a new one on intellij, the best thing to do is to check the key map.
the KeyMap is located in File|Settings for windows and linux or IntelliJ IDEA|Preferences for macOS (Ctrl+alt+S is good too) and then look for the KeyMap tab and search "maven".

How do I download ClojureDocs for Cursive manually in IntelliJ?

I've recently installed the Cursive plugin for IntelliJ IDEA. At first startup, a popup asks whether ClojureDocs examples should be downloaded:
I clicked on "Don't ask me again" by mistake, instead of "Download". This only happens on the first startup of the plugin, so there's no chance of getting the choice again (as explained in the relevant documentation).
How do I get this installed? As I'm fairly new to the language and environment, I find the examples of great help.
I've searched for a setting that would allow the plugin to ask again, or to initiate the download - no success.
I've tried to disable then enable the plugin (including restarts of the IDE) - no success.
I've tried to uninstall then reinstall the plugin (including restarts of the IDE) - no success. It seems to remember the old setting.
I imagine removing some configuration file or option would do the trick.
This applies to IntelliJ IDEA version 2020.3 and Cursive version 1.10.0-2020.3 - the Cursive plugin has already been installed and is active.
On menu go to File > Settings, in Settings Language & Frameworks > Clojure, heading Documentation Options, click Update.

Access Terminal in IntelliJ Enterprise edition 2017

I'm on a windows 10 64 bit box. I need to open the terminal inside intellij 2017.1. According to google the key command for this is alt-F12 but that combination of keystrokes does nothing apparent for me.
Is there an alternative way to open the console inside intellij that I might be overlooking?
Thanks!
It has clearly explained in the documentation provided by the JetBrains.
To find the terminal related details please use the following link.
IntelliJ IDEA Terminal
If you want to configure the key bindings please refer the following
link.
IntelliJ IDEA Keyboard Shortcuts
That shortcut is correct, to run embedded local terminal press Alt + F12. But you should make sure that the Terminal plugin is enabled. The plugin is bundled with IntelliJ IDEA and is activated by default, if it is not the case, you can enable it, go to Settings > Preferences > Plugins

Change intellij JVM

I saw a comment about fixing an issue with the Intellij
"The problem should not occur if you switch Java used by the IntelliJ IDEA from OpenJDK bundled with IDEA to Oracle JVM. At least this can work as a workaround."
How can I change the JVM in Intellij ?
Set an environment variable to tell IntelliJ what JVM to use for the IDE.
Go into Control Panel...System...Advanced System Settings. Click the "Advanced" tab, then click the "Environment Variables" button to edit.
Add a new user variable -
"IDEA_JDK" for a 32-bit JVM, or "IDEA_JDK_64" for a 64-bit JVM. Set the variable to point to the directory of the JDK you want IntelliJ to use (e.g., "C:\Java\jdks\1.8x64" or similar)
Restart IntelliJ.
The procedure is described here:
Open the Find Action popup using ctrl+shift+A
Type switch and select Switch Boot JDK
Select an existing JDK in the dropdown (use ... to select a custom path)
Reboot the IDE

Is there a way to perform autosave in netbeans 8?

I wonder if there is a way to tell to the IDE to autosave any file if modified. I've searched the web but I haven't find anything. There was a module on NetBeans 7 but it is not available now on NB 8. Anyway it appears that the old plugin can be set to execute save all on a given interval. What I want is a feature to save when you modify something just like in Intellij IDEA.
Thanks
This plugin also saves when the file loses focus: Plugin
I would also prefer something like IntelliJ's Android Studio, but I don't think it exists for Netbeans.
I downloaded the below netbeans plugin. It will automatically save after every 1 second once installed. it was built for Netbeans 8.1 and not tested for the version 8.2 but it worked for me.
Netbeans 8.2 AutoSave Download Link
Install in Netbeans via Tools > Plugins > Downloaded and click on add "Add plugins..." button
In NetBeans 12.4 the module options can be changed from the section below and you don't have to download a plugin.
Tools > Options > Editor > Autosave section.
(also it is in version 12.5. I didn't find it in version 12.0)