[Lazarus] Package filenames with _package

Ondrej Pokorny lazarus at kluug.net
Sun Jan 7 15:01:15 CET 2018


On 07.01.2018 20:55, Mattias Gaertner via Lazarus wrote:
> On Sun, 7 Jan 2018 20:08:31 +0700
> Ondrej Pokorny via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
>
>> I didn't know this either. Where can the pas file name be changed? I 
>> can't find any entry in the Package Options dialog. 
> Right click on an unit in the package editor and set File Type to "Main
> Unit". That is then the auto generated unit.
>
> Here is how to create a new package with this:
> http://wiki.freepascal.org/Lazarus_Packages#Create_a_package_with_a_unit_that_has_the_same_name_as_the_package
>
> If you often need to create packages a custom main unit name, feel free
> to create a new package type or an initial setup dialog.

Great, thank you! IMO it's perfectly sufficient as it is now. And I 
don't think the IDE should add any prefixes/suffixes by default.

Ondrej


More information about the Lazarus mailing list