开发者

Show Javadoc after pressing ctrl + space in Eclipse

开发者 https://www.devze.com 2023-02-12 18:19 出处:网络
Is there any way, to display Javadoc popup in Eclipse in \"Netbeans way\"? Example: When I write Str and press ctrl+space I\'d like to see popup with proposals (String, StringMath, StringBuffer and so

Is there any way, to display Javadoc popup in Eclipse in "Netbeans way"? Example: When I write Str and press ctrl+space I'd like to see popup with proposals (String, StringMath, StringBuffer and so on) and another window with Javadoc for highli开发者_如何学Cghted proposal.


Eclipse does support showing documentation of a highlighted element when you are using ctrl + space for autocompleting. However to have that working you need to do a little set up for the jre/jdk you are using to show eclipse where to look for the docs.

You can do that by checking out Preferences > Java > Installed JREs > then edit the JRE / JDK you've there. you basically have two options either setting the JavaDoc location or the Source attachement.

0

精彩评论

暂无评论...
验证码 换一张
取 消