你真是急人啊,下面是idea的support给我的信,我问过和你一样的问题 sorry,快捷键在默认的情况下是shift+F1,我用的是vs的快捷键,就不同了If you need JavaDoc help for code, there are 2 ways to set it up:1. If you have JDK sources which contain comments by default, you can include src.jar to the sourcepath (either to the project's or to the JDK configuration) and use Ctrl+Q while standing on the keyword to get popup window with help. In the keymap editor you can change this key for whatever you like.2. You have installed JavaDoc for JDK in html format, the root directory for JavaDoc, for example is c:\j2sdk\docs. Add c:\j2sdk\docs\api directory to the JavaDoc API path (again, either in the project's configuration or in the JDK configuration). Set up your browser path in the IDE options. Now you can use Shift+F1 shortcut while standing on the word to open browser window on the documentation page related to this word.
解答:
将jdk和j2ee的html帮助文档的路径
加入project properties中的javadoc path例如我的机器上是
C:\j2sdkee1.3.1\doc\api和
C:\j2sdk1.4.0_01\doc\api
让后用快捷键ctrl+1就可以看帮助了
idea只要你能想到的功能几乎都可以实现:)
sorry,快捷键在默认的情况下是shift+F1,我用的是vs的快捷键,就不同了If you need JavaDoc help for code, there are 2 ways to set it up:1. If you have JDK sources which contain comments by default, you can include src.jar to the sourcepath (either to the project's or to the JDK configuration) and use Ctrl+Q while standing on the keyword to get popup window with help. In the keymap editor you can change this key for whatever you like.2. You have installed JavaDoc for JDK in html format, the root directory for JavaDoc, for example is c:\j2sdk\docs. Add c:\j2sdk\docs\api directory to the JavaDoc API path (again, either in the project's configuration or in the JDK configuration). Set up your browser path in the IDE options. Now you can use Shift+F1 shortcut while standing on the word to open browser window on the documentation page related to this word.
交个朋友!msn:[email protected]