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
Please sign in to leave a comment.
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.
This is what I'm seeing in NetBeans when I type String and a dot:
This is what I see in IntelliJ IDEA Community 2018.1 (even after I enable those settings and closed/reopen the IDE):
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.
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.
>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.
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.