Copyright Plugin Usage!

Post here any ideas/problems/suggestions you have regarding CodeLite's CodeFormatter (AStyle) plugin

Copyright Plugin Usage!

Postby sepisoad » Tue Sep 13, 2016 12:49 pm

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.
sepisoad
CodeLite Curious
 
Posts: 2
Joined: Sun Sep 11, 2016 2:55 pm

Re: Copyright Plugin Usage!

Postby eranif » Tue Sep 13, 2016 3:16 pm

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
User avatar
eranif
CodeLite Plugin
 
Posts: 5429
Joined: Wed Feb 06, 2008 9:29 pm


Return to CodeFormatter

Who is online

Users browsing this forum: No registered users and 1 guest