Lazarus

Announcements => Third party => Topic started by: GolfCat on June 12, 2019, 11:53:49 pm

Title: Do you like to add license/copyright header in Lazarus .pas source file?
Post by: GolfCat on June 12, 2019, 11:53:49 pm
If you do, please look at this CommentBuilder tool.
http://www.bodingh.se/download/CommentBuilder_setup.exe
Title: Re: Do you like to add license/copyright header in Lazarus .pas source file?
Post by: valdir.marcos on June 13, 2019, 08:44:20 am
If you do, please look at this CommentBuilder tool.
http://www.bodingh.se/download/CommentBuilder_setup.exe
I'm sorry, but many of us would not test a binary...
Where can we download or checkout the source code?
Title: Re: Do you like to add license/copyright header in Lazarus .pas source file?
Post by: Thaddy on June 13, 2019, 01:11:04 pm
FPC has built-in features for that....
E.g. https://www.freepascal.org/docs-html/current/prog/progsu88.html#x96-950001.3.5 and more for other platforms than netware. (E.g. {$I license.txt })

And indeed please do not link to executables: sane people would not even download it....
We are programmers, not click-bait.
Title: Re: Do you like to add license/copyright header in Lazarus .pas source file?
Post by: lucamar on June 13, 2019, 08:29:23 pm
If you do, please look at this CommentBuilder tool.
http://www.bodingh.se/download/CommentBuilder_setup.exe

Why use an external tool? Instead use either full project templates ("GPL Application", "MIT Application", etc.) or simple code templates: type "BSD3", press Ctrl+J et voilĂ ! a shinig BSD-3-clause license added to your source ;)
Title: Re: Do you like to add license/copyright header in Lazarus .pas source file?
Post by: Thaddy on June 13, 2019, 08:51:34 pm
Yup! but that's Lazarus only. FPC supports including a license too. (I didn't even examine the link)
TinyPortal © 2005-2018