IntelliJ IDEA shortcut keys to add a comment JavaDOC

 

the first method

Default Fix doc comment is not set shortcuts, where he set me Alt + M

The cursor on the class name or method name, shortcut key provided by the above

 

The second method

The cursor on the class name or method name, and then Alt + Enter, several options appear, select Add Javadoc on OK

 

Guess you like

Origin www.cnblogs.com/linkenpark/p/11403265.html