在 idea 的 setting 裡設定了類注釋模闆,如下:
每建立一個 class 檔案都會自動寫上這些注釋,但是 idea 總是對此發出警告提示:
Wrong tag 'Description' less... (Ctrl+F1)
This inspection points out the following javadoc comment flaws:
- no javadoc where it is required
- required tag is missing
- invalid or incomplete tag
- javadoc description is missing or incomplete
alt + enter -> add to custom tags