this inspection reports usage of the default file template for file header
2017-04-07 11:08
423 查看
使用idea创建一个java class的时候会出现如下的warning:
不管你怎么修改模版都无法消除⚠️,除非你去修改这段注释(详细的解释我在文章的结尾给出了描述)。这样看着特别不舒服。
解决方法:
The point of it is to remind you to document your code by adding a description of the class. No matter what you set the template to, if you don't change the text that is in the template, it assumes you want a reminder to override it with some useful information. If you are not in the habit of adorning your code with informative comments, then you can disable that particular check.
To disable the check, where you see the comment block highlighted as a warning, click in that shaded area, wait for the "light bulb" intention icon to appear near the left margin, then, when it pops up a box that says "Edit template...", instead of clicking on the words, click on the little arrow to the right of the words, and select "Disable inspection".
QQ技术交流群:576269252
--------------------------------------
声明: 原创文章,未经允许,禁止转载!
--------------------------------------
this inspection reports usage of the default file template for file header
不管你怎么修改模版都无法消除⚠️,除非你去修改这段注释(详细的解释我在文章的结尾给出了描述)。这样看着特别不舒服。
解决方法:
The point of it is to remind you to document your code by adding a description of the class. No matter what you set the template to, if you don't change the text that is in the template, it assumes you want a reminder to override it with some useful information. If you are not in the habit of adorning your code with informative comments, then you can disable that particular check.
To disable the check, where you see the comment block highlighted as a warning, click in that shaded area, wait for the "light bulb" intention icon to appear near the left margin, then, when it pops up a box that says "Edit template...", instead of clicking on the words, click on the little arrow to the right of the words, and select "Disable inspection".
QQ技术交流群:576269252
--------------------------------------
声明: 原创文章,未经允许,禁止转载!
--------------------------------------
相关文章推荐
- BEA-290074 <Deployment service servlet received file download request for file "security/SerializedSystemIni.dat". The file may exist, but download of this file is not allowed.>
- curl出现Deprecated: curl_setopt(): The usage of the @filename API for file uploading is deprecated. Pl
- Sharepoint 2013-A file specified in the modules section of this template already exists.
- hbase-default.xml file seems to be for an older version of HBase ,this version is 1.2.0
- ErrorException: curl_setopt(): The usage of the @filename API for file uploading is deprecated.
- unexpected end of file while looking for precompiled header directive
- Eclipse打不开的错误:Version 1.3.1_01 of the JVM is not suitable for this product. Version: 1.4.1
- unexpected end of file while looking for precompiled header directive
- 【转载】fatal error C1010: unexpected end of file while looking for precompiled header directive
- Version 1.3.1_01 of the JVM is not suitable for this product.Version:1.4.1 or greater is required。
- ArcGIS Engine中初始化许可常见问题归纳,the application is not licensed to create or modify schema for this type of data
- 如何给上传控件上色【HOW TO SET CSS FOR THE CONTROL OF FILEUPLOAD】
- fatal error C1010: unexpected end of file while looking for precompiled header directive
- 出现此问题的解决方法: unexpected end of file while looking for precompiled header directive
- VC6编辑时提示This file has been modified outside of the source of editor.Do you want to reload it?解决方法
- Eclipse错误:Version 1.3.1_01 of the JVM is not suitable for this product收藏
- fatal error C1010: unexpected end of file while looking for precompiled header directive
- fatal error C1010: unexpected end of file while looking for precompiled header directive 错误
- fatal error C1010: unexpected end of file while looking for precompiled header directive
- 如何解决unexpected end of file while looking for precompiled header directive的问题