2022/08/18_JAVA study notes 5 (idea comment setting) [Notes cannot be displayed on the method prompt]

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
 */ 

insert image description here
insert image description here

Completely add step pictures, quoted from here
insert image description here

2. There is a problem

insert image description here
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
insert image description 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
Solution 3
is quoted from here

There have been changes in the idea2020.2.3 version
Solution for version 2020.2.3
, 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.
insert image description here
insert image description here

Guess you like

Origin blog.csdn.net/ZHI_MO_WEN/article/details/126401044