How to add copyright to Android-Studio?

klefevre picture klefevre · Jun 27, 2013 · Viewed 35.2k times · Source

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 ?

Answer

José Mira picture José Mira · Oct 12, 2013

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