Opened 9 years ago

Closed 7 years ago

Last modified 43 years ago

#192 closed Feature Requests (None)

improvements for auto complete

Reported by: riverfr0zen Owned by: nobody
Priority: 5 Milestone:
Component: None Version: None
Keywords: Cc:

Description

When auto-completing, say a paren or a bracket, instead
of creating the matching element right next to the
user-types element, would be nice if it was created in
the next most logical place.

For e.g. you have an intiial block of code:


if ($something() == $nothing());

And then the user types the following 'sizeof' method
into the if clause:

if ($something() == sizeof($nothing());

... then, instead of code-completing as ...

if ($something() == sizeof()$nothing());

... we get, instead ...

if ($something() == sizeof($nothing()));

I admit, figuring out when and where such completion
rules apply may be somewhat arbitrary - anway, just
though it would be useful to have *something* like this.

Change History (1)

comment:1 Changed 7 years ago by bananeweizen

  • Status changed from assigned to closed
Logged In: YES 
user_id=440739

That's just not possible because you can't say where the
closing bracket should be positioned. Additionally most
people probably prefer the way of first adding a function
call and then the matching arguments, not the other way
around as proposed here.

Closing.
Note: See TracTickets for help on using tickets.