zoukankan      html  css  js  c++  java
  • this inspection reports usage of the default file template for file header

    使用idea创建一个java class的时候会出现如下的warning:

    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

    --------------------------------------

    声明: 原创文章,未经允许,禁止转载!

    --------------------------------------

  • 相关阅读:
    loadOnStartup = 1
    TP复习8
    TP复习7
    TP复习6
    TP复习5
    TP复习4
    TP复习3
    TP复习2
    TP复习
    document.createElement("A");
  • 原文地址:https://www.cnblogs.com/xxoome/p/6677170.html
Copyright © 2011-2022 走看看