How to set single clicking to open file in IntelliJ IDEA?

Intellij IdeaPycharmWebstormRubymine

Intellij Idea Problem Overview


And what are counterparts to eclipse's declaration view and javadoc view?

Intellij Idea Solutions


Solution 1 - Intellij Idea

In the Project View click on the "gear" icon and enable the Open Files with Single Click option:

Open Files with Single Click

Use Ctrl+Q for Quick JavaDoc and Ctrl+Shift+I for the declaration pop-up.

Solution 2 - Intellij Idea

Now it's available in a simpler way. In the Project View click on the Gear icon and then click Open Files with Single Click:

enter image description here

Solution 3 - Intellij Idea

Go to Preferences and turn on Enable preview tab, that will enable Open Files with Single Click for all projects.

enter image description here

Solution 4 - Intellij Idea

Javadoc opens with Ctrl+Q

There's no declaration view per se, however, you probably will be satisfied with Ctrl+Shift+I shortcut for quick lookup.

Don't know of any ways to configure it to open files on single clicks. Somehow, if you get used to the shortcuts, you skip using mouse very much. For instance, Alt+Home will bring the navigation bar up and you can move with arrows and open the file with Enter. Or just use some other shortcuts like Ctrl+N or Ctrl+E depending on the context.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAlex LuyaView Question on Stackoverflow
Solution 1 - Intellij IdeaCrazyCoderView Answer on Stackoverflow
Solution 2 - Intellij IdeaRostyslav DruzhchenkoView Answer on Stackoverflow
Solution 3 - Intellij IdeaLizhen HuView Answer on Stackoverflow
Solution 4 - Intellij IdeaAnton ArhipovView Answer on Stackoverflow