Jump to content

IDE support for auto completion of anonymous functions

Recommended Posts

Hi delphi fans,


I'm never sure how much attention is paid to the 'upvotes' on issues in quality portal... 


Anyways, as there has been considerable effort in getting LSP working and improving that by the Emb team, one feature I'd really like to see the IDE provide is a 'rad' experience from the code editor with auto completion of anonymous method signatures, etc.


https://quality.embarcadero.com/browse/RSP-27293 and https://quality.embarcadero.com/browse/RSP-24310


to summarize, as an example:

    TMyfunction = reference to procedure (const AArg:string);
    var func : TMyfunction := /* press ctrl+space which completes the following: */ procedure (const AArg:string)

There can be many different ways in which the context of the type can be known based on the cursor position when ctrl+space is pressed...


If you have some time and think it would also be valuable, please upvote...


I don't know if the moderators should consider a separate forum section for these types of requests. 




  • Like 1

Share this post

Link to post

Alternatively, Maybe raise a request to the CNWizards team for their InputHelper module might get such feature implemented faster ;)

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now