Doc comments set is very simple, Setting -> Editor -> File and Code Templates -> Includes -> File Header, then you can set up according to their needs.
/**
* @Description: java类作用描述
* @author: ${USER}
* @date: ${DATE}
*/
Automatically generated when a set is complete, create a new class notes, create a.class as follows:
the use of plug-in JavaDoc2, can quickly add annotation method
to download plug-ins little introduction, using the following method:
- Add comments to the current method, the method to move the mouse, and then
shift + alt + G
. - To class all methods to annotate, that is
shift + ctrl + alt + G
- Undo Current / selection method comment is
shift + alt + Z
- Revoke all comments class is
shift + ctrl + alt + Z
the right or select Generate, corresponding to the four kinds of red frame portions are shortcut.
The above results are the following four ways:
Shift + Alt + G:
Shift + Ctrl + Alt + G:
Shift the Z + Alt +:
Shift + Ctrl + Alt + the Z: