[Lazarus] Feature Request: more intelligent code completion

Michael Van Canneyt michael at freepascal.org
Mon Jan 30 12:37:16 CET 2017



On Mon, 30 Jan 2017, Graeme Geldenhuys via Lazarus wrote:

> Hi,
>
> I've using the Eclipse IDE for a while now, and the developer is really
> spoilt with intelligent code/class completion. I'm wondering if Lazarus
> IDE could benefit of some of those features too.
>
> For example - improved (more intelligent) code completion.
>
> I have this code:
>
> ======================================
> procedure TBuildDelphiProjects.DoRun;
> var
>  lProjDirName: string;
>  lDefFile: string; // global defaults INI file
>  lFullProjFile: string;
> begin
>  CaseSensitiveOptions:=True;
>
>  if HasOption('h','help') then
>    WriteHelp(0)
>  else if not HasOption('p','project') then
>    WriteHelp(1)
>  else
>  begin
>    FVerbose := HasOption('V','verbose');
>    BuildProject.Verbose := FVerbose;    //  <-- I just typed this.
> ======================================
>
>
> Now the BuildProject class doesn't have a Verbose property. The
> TBuildDelphiProjects class does have a FVerbose field of type boolean.
> So the data type of FVerbose is known, so to deduce what the missing
> property "Verbose"'s data type should be is known (or should be known).

I'm not sure that I want the IDE to modify another class than the one I am
working in at the moment, when I press "code completion" ?


Michael.


More information about the Lazarus mailing list