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

查看:46
本文介绍了如何为 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 ?

推荐答案

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

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天全站免登陆