Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-02

How can I configure "unit scope names" in Lazarus?

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

silvioprog

Hello,

In Delphi, I can create a unit called "Foo.Bar.pas", after that, in "Delphi Compiler | Unit scope names" project option, I can add "Foo" to the unit scope names list, so I can declare my unit in two ways:

- uses Foo.Bar;

or:

- uses Bar;

It is very useful for retro-compatibility (eg.: FPC 3.0.0 accepts Foo.Bar, but 2.6.4 only Bar), or useful if someone prefer to declare the units without the scope name (SysUtils instead of System.SysUtils).

Is this feature - unit scope names - implemented in FPC? If so, the Lazarus IDE has a window to configure that in my project?

Thank you!

Silvio Cl?cio My public projects - github.com/silvioprog -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150226/72d9aecf/attachment.html>

Reply by email

aradeonas
to Sven Barth

This feature can be help arranging project.

Regards,
Ara

Sven Barth wrote 14 lines
On 26.02.2015 21:50, silvioprog wrote: > Is this feature - unit scope names - implemented in FPC? If so, the > Lazarus IDE has a window to configure that in my project? FPC does not support that yet. Regards, Sven -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
http://www.fastmail.com - Access all of your messages and folders wherever you are

Reply by email

silvioprog
to Sven Barth: FPC does not support that yet. Sven
Sven Barth wrote 10 lines
On 26.02.2015 21:50, silvioprog wrote: > Is this feature - unit scope names - implemented in FPC? If so, the > Lazarus IDE has a window to configure that in my project? > FPC does not support that yet. Regards, Sven

Thank you! (y)

Silvio Cl?cio My public projects - github.com/silvioprog -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150226/4b6a0fc2/attachment.html>

Reply by email