java eclipse in the single-line comments, multiline comments, document annotation shortcut

First, the single-line comment (comment may be multi-line)
1, style: // I was content comment
2, shortcut: ctrl + / or ctrl + shift + C
Second, multi-line comments (comment may be a single line)
1, style: / * I was content comment * /
2, shortcut keys: ctrl + shift + /
Third, the documentation comment
1, style: / ** I was annotated document * /
2, shortcut: Alt + shift + J
3, modify the document annotated document content:     
Open eclipse
Window-->Preferences-->Java-->Code Style --> Code Templates --> Comments --> types --> Edit
 

Guess you like

Origin www.cnblogs.com/bianshiguang/p/10959314.html