How to get more than just the method signatures in intellisense

Answered

How do you get intellisense to show more than just the method signatures? When I type the name of an object then a dot, all I get is the names of the methods and and any arguments and the return type; it shows no other information for the selected item. I'm used to seeing a bit of a description about the method or whatever it is in other IDEs (netbeans, Visual Studio, etc). How can I enable this in IntelliJ IDEA? I'm using Java 1.8, btw.

Thanks

0
7 comments

What information do you mean - a documentation? You can enable Auto-disaply documentation in ... ms in Settings(Preferences) | Editor | General | Code Completion settings. Also you can enable displaying the Parameter Info on the same settings page.

0
Avatar
Permanently deleted user

This is what I'm seeing in NetBeans when I type String and a dot:

 

0
Avatar
Permanently deleted user

This is what I see in IntelliJ IDEA Community 2018.1 (even after I enable those settings and closed/reopen the IDE):

0
Avatar
Permanently deleted user

Here's my settings window. Perhaps there's some kind of bug in the latest release or a misconfiguration on my PC somehow? I'm using Windows 10.

0
Avatar
Permanently deleted user

I have just found that I can at least get it to appear manually by pressing Ctrl Q but the "auto-display documentation" setting doesn't work for me.

0

>This is what I see in IntelliJ IDEA Community 2018.1 (even after I enable those settings and closed/reopen the IDE):

The documentation popus up for me after the configured delay:

Note that it will auto-pop-up only for explicitly invoked completion (Ctrl+Space) action.

1
Avatar
Permanently deleted user

Thanks. It works at home on my Mac (and presumably would at work if I used Ctrl+Space). I have to use Ctrl-J instead of Ctrl-Q on Mac, too. All good now.

0

Please sign in to leave a comment.