问题描述
标题说明了一切.如果我想在 Android Studio 的代码文件中添加版权注释?当然,我在首选项/版权中找到了版权设置,但我无法使其工作……当我创建新的 Java 文件时,版权不会出现.
是 Android Studio 的错误还是我错过了什么?
The title says everything. If I want to add copyright comment in code files in Android Studio?I, of course, find the Copyright settings in Preference/Copyright, but I can't make it work... copyrights just don't appear when I create a new Java file.
Is it a bug of Android Studio or did I miss something ?
推荐答案
在要插入版权声明的文件上必须按 + for Windows和 GNU/Linux 或 + for Mac 并选择要插入的版权.
On the file you want to insert the copyright notice you have to press + for Windows and GNU/Linux or + for Mac and select the copyright to be inserted.
http://www.jetbrains.com/idea/webhelp/generating-and-updating-copyright-notice.html
这篇关于如何为 Android-Studio 添加版权?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!