Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stop IntelliJ IDEA updating copyright on specific files

Is there any way I can stop IntelliJ IDEA from updating the copyright notice in specific files? I just went to do a git commit and noticed that it had updated the copyright notice in lightbox.js which I don't want — it's not mine!

Ideally I'd like to mark a "3rd party" sub-directory as being excluded from copyright updates.

like image 419
Andrew Avatar asked Oct 06 '22 10:10

Andrew


1 Answers

Go to Settings | Copyright, find a scope used, modify this scope (Settings | Scopes) so that it excludes your "3rd party" sub-directory.

like image 83
Roman Shevchenko Avatar answered Oct 10 '22 02:10

Roman Shevchenko