1. Idea comment setting
1. Class setting
After the following settings, comments can appear when creating a class
/**
* @projectName: ${PROJECT_NAME}
* @package: ${PACKAGE_NAME}
* @className: ${NAME}
* @author: JunJie
* @description: TODO
* @date: ${DATE} ${TIME}
* @version: 1.0
*/
Completely add step pictures, quoted from here
2. There is a problem
When prompted by the method shown in the figure, the comment section is not displayed, and the following figure is displayed correctly, quoted from here
3. Solution (unsuccessful)
① Try to generate Doc, but it doesn’t work, and there are garbled characters
② Try to download javaDoc, but it doesn’t work
③ Solution 3
is quoted from here
There have been changes in the idea2020.2.3 version
, but it still doesn't work after trying it.
4. Solution (success)
Download the theme from File->Setting->Plugins
. After the download is complete, use it in Appertance and restart it to take effect. The operation process is shown in the following two figures.