Android Studio: how to remove/update the “Created by” comment added to all new classes?

后端 未结 9 1372
余生分开走
余生分开走 2020-12-07 07:53

By default Android Studio automatically adds a header comment to all new classes, e.g.

/**
 * Created by Dan on 11/20/13.
 */

Where is the

9条回答
  •  [愿得一人]
    2020-12-07 08:20

    You can just disable the warning as well. For me the default template was ok but seeing yellow highlighted class javadoc was annoying me. So to disable it go to Settings -> Editor -> Inspections -> General -> Uncheck "Default File Template Usage".

    You can also do it accross all projects. Just change the Project profile to Default in the same Inspections tab.

提交回复
热议问题