[fpc-devel] Feature announcement: Type helpers

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Feb 6 12:10:14 CET 2013


Michael Van Canneyt <michael at freepascal.org> hat am 6. Februar 2013 um 11:38
geschrieben:
>
>
> On Wed, 6 Feb 2013, Marco van de Voort wrote:
>
> > In our previous episode, Michael Van Canneyt said:
> >> With helpers you can do
> >> i.<ctrl-space>
> >> and get a list of methods, for example ToString;
> >>
> >> Which, for newbies, is easier than guessing IntToStr()
> >
> >> We'll have to make some units with 'standard' helpers.
> >
> > Well, newbies are not to strong in knowing what is which unit either :-)
>
> If we're talking newbies and IDE:
>
> They don't need to, if the IDE puts the unit in the uses clause to start
> with...

i.<ctrl-space>

will only show identifiers in scope, that excludes units not in the uses
section.

Cody's identifier dictionary can add identifiers and units, that are not in
scope. But it currently only supports top level identifiers.

Mattias



More information about the fpc-devel mailing list