There are three main methods to generate a document (javadoc) using Eclipse: 1. Right-click the project list, select Export (export), and select javadoc under Java in the Export (export) dialog box, submit to the next step. In the javadoc generation dialog box, there are two points to note: javadoc command: select the JDK bin/javadoc.exe destination: to save the path of the generated document. Click Finish to generate the document.
2. Select File> export from the menu. The remaining steps are the same as those in the first method. 3. Select the project for which the document is to be generated and select from the menu. Project> Generate javadoc directly enters the javadoc generation dialog box, the remaining steps are the same as the first method in the javadoc generation dialog box. Haha, it is convenient to generate useful documents. It's really a good feature. Therefore, you should pay attention to writing comments when writing things. The shortcut keys for comments are Alt + Shift + J.