如何为Android-Studio添加版权? [英] How to add copyright to Android-Studio?

查看:98
本文介绍了如何为Android-Studio添加版权?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标题说明了一切.如果要在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 ?

推荐答案

在要插入版权声明的文件上,必须按Windows的 Alt + Insert 和Mac版GNU/Linux或 Command + N ,然后选择要插入的版权.

On the file you want to insert the copyright notice you have to press Alt+Insert for Windows and GNU/Linux or Command+N for Mac and select the copyright to be inserted.

http://www.jetbrains.com/idea/webhelp/generating-and-updating-copyright-notice.html

这篇关于如何为Android-Studio添加版权?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆