IntelliJ Copyright Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


* [[IntelliJ#Configuration|IntelliJ Configuration]]
* [[IntelliJ#Configuration|IntelliJ Configuration]]
=Create a Copyright Profile=


Create a copyright profile. File -> Other Settings -> Default Settings -> Editor -> Copyright -> Copyright Profiles -> +  
Create a copyright profile. File -> Other Settings -> Default Settings -> Editor -> Copyright -> Copyright Profiles -> +  

Revision as of 20:28, 21 January 2016

Internal

Create a Copyright Profile

Create a copyright profile. File -> Other Settings -> Default Settings -> Editor -> Copyright -> Copyright Profiles -> +

Then apply the profile to:

1) The entire project

Select the project.

Then File -> Other Settings -> Default Settings.

Go to "Editor" and click on "Copyright". Do not expand.

In the right window you'll see: "Editor > Copyright > For default project"

Default project copyright: Apache License, Version 2.0

Scope -> + Project Files.

Then apply it to any file from the project:

2) A file

Control + Enter -> Copyright -> Assign the Copyright profile to the project.

!!!Window Floating Mode - Re-attach a Floating Window

At one time the "Variables" window became detached (in floating mode). I am not sure how I re-attached it again - I messed with "floating" setting in Window -> Active Tool Window and dragging the floating window over the docked window.