How to make IntelliJ display the Javadoc of autocompletion suggestions? - intellij-idea

IntelliJ display Java code auto-completion suggestions in a drop-down menu after pressing CtrlSpace. All other IDEs manage to display the corresponding Javadoc if available. How to get IntelliJ to do that?
How to see JavaDoc in IntelliJ IDEA? refers to displaying it on a mouse hover event whereas I'm missing the Javadoc from code-completion suggestions.

Once you put a dot and the suggestions appear, press F1 (which is the default shortcut for "Quick Documentation" in most keymaps). The documentation for the currently selected method then appears as a card as show in the image. Then you can either use the up/down arrow keys or start typing the method name to select it. The documentation card will reflect accordingly.
You can also click on the pin icon on top right of the documentation card to expand it if required.

Related

IntelliJ Idea + Dart classes - how do I view documentation comments for a particular class

In VSCode you can hover over a dart class name and it will give you the documentation comments. How do you achieve this in IntelliJ?
I'm using the community edition.
I have tried the cmd + mouse hover but it doesn't give me the comments
it was an option that isn't automatically selected
https://www.jetbrains.com/help/idea/viewing-reference-information.html
Automatically show quick documentation #
In the Settings/Preferences dialog (⌃⌥S), go to Editor | General.
In the Other area, select the Show quick documentation on mouse move checkbox and specify the delay in milliseconds after which the
popup should appear.

How to stop annoying documentation popups in IntelliJ IDEA

Using IntelliJ IDEA 15, I get these constant and annoying documentation popups whenever my mouse is anywhere in the code window for a decompiled class (from a 3rd party jar). It will popup docs for whatever variable/method/class/anything happens to be near my mouse. If my mouse is not near any lines of code, it will popup for the current classfile, so basically I can't browse code unless I move my mouse to another window.
It only happens with decompiled classes, not my normal code. How do I stop these?
Go to File>Settings>Editor>General - in the section 'Other', uncheck 'Show quick documentation on mouse move'.
In later versions of IntelliJ, the path is File>Settings>Editor>Code Editing, and it is under the "Quick Documentation" section.
In my cause, 'Show quick documentation on mouse move' was in Editor > Code Editing:
If you want the documentation bubble but not the popup window, do this:
Place your text cursor on some text which causes the popup.
Press ctrl + q (or whatever keyboard shortcut you have for quick documentation) a couple of times until the popup window disappears, the quick documentation will then revert to the "bubble" on hover.
Under the File/Settings/.., at the top search bar, type in for "Quick Documentation", will point to the location.
Press <F1> button to show/hide this pop-up.

IntelliJ IDE (IDEA, PhpStorm, WebStorm): Shortcut for focusing Filter field in e.g. Change Log tool window

Is there a shortcut for focusing the Filter box in tool windows, specifically the Change Log?
See the attached screenshot to know which field I'm talking about. I searched the net and key map, but found nothing like that.
I have confirmed at Jetbrains that unfortunately it's not possible yet: http://devnet.jetbrains.com/message/5520523#5520523
Just start typing with the focus inside the tool window. IDEA invokes the search automatically. To select the item, press Enter. To cancel, press Esc.
This feature is called Tool Window Speed Search.

Pop-up menu is not fully visible in IntelliJ IDEA

I am just evaluating IntelliJ IDEA. Installed it with default procedures.
I created a simple Spring project and when I right click on the project, not able to see the the bottom part of the pop up menu. The issue is because of my laptop screen's height is less and could not fit the entire set of pop-up menu items.
In eclipse there is a drop down arrow, so that I can scroll to the menu items, which do not fit in the screen. How can I get the similar eclipse functionality in IntelliJ?
Well, you are only missing one useful feature (Genereate Java code from wsdl). I would ignore it unless you need to generate such code.
If you want to run this generation you can do this with Ctrl + Shift + A (and start typing feature name)
//btw, it is better to make code generation in maven anyway

Xcode question: Quickly jump to a particular selector/class/symbol?

What is the quickest way to jump to a particular symbol/selector/class in Xcode? (I'm looking for keyboard shortcuts preferably).
Right now, I know two ways of doing this:
“Open Quickly” > Click on the Symbols dropdown menu at the top of the editor > Select the selector to jump to it.
Click on “Project Symbols” in the “Groups and Files” section on the left sidebar, and type in a name in the Search text field in the top right of the XCode window.
Is there a quicker way of doing this? (If I could even assign a shortcut to jump to the “Project Symbols”, that would suffice for me. Alternatively, if I can find a keyboard shortcut to jump to the symbol dropdown above an editor that would do it to).
For experienced Xcode programmers, what do you use to jump to a symbol?
In Xcode 3.2, the "Open Quickly" command (Shift-Control-D) lets you type in selectors and class names as well as file names. This would at least get you close to what you wanted.
Your idea about using the "Symbols" drop-down also works. You can use the keystroke Control-2 to bring up the Symbols drop-down menu, and then use the arrow keys, or start typing the name of the method that you want to reach.
Edit: In Xcode 4, the "Symbols" drop-down appears when pressing Control-6. You can change this in the Xcode settings by changing the key binding for "Standart Editor > Show Document Items".
If you're looking at the symbol in a source file and want to jump to its definition, ⌘-click it.
(command + double click) on your symbol/selector/class in any place of your implementation to jump to them
(option + double click) on framework classes/selectors to jump to their reference in help->documentation
One (arguably crude) way to do it seems to be as follows:
This is based on the fact that the Search field at the top right of the Xcode window seems to change behavior depending on what is selected in the Groups & Files sidebar.
Select “Project Symbols” in the “Groups & Files” sidebar
Press ⌥⌘F (That is Command+Option+F) to jump to the Search field
Enter the symbol to jump to, and an outline will quickly show up
(this will remain in effect until you click on something else in the Groups & Files sidebar)