On 07.01.2018 20:55, Mattias Gaertner via Lazarus wrote:
On Sun, 7 Jan 2018 20:08:31 +0700
Ondrej Pokorny via Lazarus <[email protected]> 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
--
_______________________________________________
Lazarus mailing list
[email protected]
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to