[Lazarus] Request feature?
Martin Frb
lazarus at mfriebe.de
Fri Oct 3 00:24:41 CEST 2014
On 02/10/2014 22:54, silvioprog wrote:
> On Thu, Oct 2, 2014 at 6:48 PM, Mattias Gaertner
> <nc-gaertnma at netcologne.de <mailto:nc-gaertnma at netcologne.de>> wrote:
>
> On Thu, 2 Oct 2014 18:36:38 -0300
> silvioprog <silvioprog at gmail.com <mailto:silvioprog at gmail.com>> wrote:
>
> >[...]
> > Oops, no no, sorry hehe... to the unused units. E.g:
> >
> > program Project1;
> > {$mode objfpc}{$H+}
> > uses
> > sysutils, // normal
> > contnrs, // gray
> > fgl; // gray
> > begin
> > WriteLn(IntToStr(10));end.
> >
> >
> > SysUtils - used - normal; contnrs/fgl - unused - so, gray.
> >
> > See attached picture, it shows this feature in Android Studio. =)
>
> I see.
> When you compile in Lazarus, the units are underlined.
> There is also a hint icon, which you can click to remove the unit.
>
> Mattias
>
>
> Awesome!
>
> I'm using Lazarus 1.2.4. Is this feature available in Lazarus from trunk?
>
There is also an entry in "Refactoring" (pop up, or Menu: Source)
"Unused Units" (Though (iirc) it in only 99% accurate)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20141002/6a497e9c/attachment-0003.html>
More information about the Lazarus
mailing list