[Lazarus] Renaming unit

Richard Mace richard.mace at gmail.com
Tue Apr 10 14:08:27 CEST 2012


Richard Mace <richard.mace at gmail.com> wrote:

>
> > Hi,
> > When I create a new unit and then save it, I save it in all lower case.
> > I then, edit the actual unit, and rename it to the case that I would
> like,
> > such as renaming from "mainunit" to "MainUnit".
>
> Hint:
> You can save it as 'MainUnit.pas'. The IDE then asks to save it
> lowercase. The file name will then be 'mainunit.pas' and the source
> name 'MainUnit'.
>
> You can disable the question here:
> Options / Naming / Save As - auto rename pascal files lower case
>

Thanks Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120410/907e454c/attachment-0003.html>


More information about the Lazarus mailing list