Copyright Plugin Usage!

Post here any ideas/problems/suggestions you have regarding CodeLite's CodeFormatter (AStyle) plugin
sepisoad
CodeLite Curious
Posts: 2
Joined: Sun Sep 11, 2016 2:55 pm
Genuine User: Yes
IDE Question: C++
Contact:

Copyright Plugin Usage!

Post by sepisoad »

Sorry guys to post my question under CodeFormatter topic.
I am trying to find out how to use Copyright plugin but unfortunately I have found nothing online to help me learn about the plugin usage.
can someone give me a sample copyright template file to read.
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Copyright Plugin Usage!

Post by eranif »

For CodeLite, I use this file:

https://github.com/eranif/codelite/blob ... e_prefix.h

You can create you own ASCII art from here:

http://patorjk.com/software/taag/#p=dis ... t=CodeLite

To avoid re-adding the same copyright block to the same file, you should provide a unique string that exists in the template file that once CodeLite "sees" it, it won't re-add it
For example, for CodeLite I use this pattern (its one of the lines from the template file):

Code: Select all

| |    / _ \ / _  |/ _ \ |   | | __/ _ )
Eran
Make sure you have read the HOW TO POST thread
Post Reply