AutoComplete as you type (no Ctrl+Space)

Is it possible to have the php function code completion popup display as you type (ie: without having to press Ctrl+Space to display the options) ?
Similar to how the auto complete displays straight away after typing $this->  with a list of possible methods.

Also (in HTML files) having all possible html attributes display in the drop down as you type. And you can just press enter to select the first option.

Examples:

So typing this out: <td width="100%" colspan="2"></td>
Would be these keystrokes: <td w[enter]100%→ co[enter]2→>

And typing this php function: file_put_contents();
Would be: file_p[enter]
Instead of current:  file_p[Ctrl+Space]();

Autocomplete issue:

In WI-94.593 when I do: file_p[Ctrl+Space] it gives me this:
file_put_contents
When I then type an opening bracket ( it gives me this bad code:
file_put_contents()(

file_p[enter] should probably give: file_put_contents(); with the caret between () and an ending ;

Anybody know of a config file where these auto complete rules are stored so I can have a play?

Thanks,
Dave

16 comments
Comment actions Permalink

There no plans for general automatic invocation of completion.
As for any specific bugs - there's a issue tracker for that http://youtrack.jetbrains.net/issues/WI

0
Comment actions Permalink

I think that no autocompletion as u type is a major fail
apatana has it and it works great there...

0
Comment actions Permalink

All IntelliJ products have another philosophy. No one will autopopup any window if you do not ask. It is your choice - to agree with this philosophy or use another IDE, for example slow and buggy Eclipse bastard (IMHO) - Aptana Studio.

0
Comment actions Permalink

Could we 'ask' it to popup as we type, wouldn't it make typing code much much faster? Those who prefer to press ctrl+space can still do so by turning auto complete off?

0
Comment actions Permalink

I guess in projects with big frameworks autopopup will be slow and produce to long list of suggestions. Currently you can try to type first letter and press Ctrl+Space. You will see looong list suggestions. And when you type next letter the list of suggestions will be filtered according to your entered letter. Isn't it slow for you (try in project with Zend or Symphony)?

0
Comment actions Permalink

I believe I could ask for "Autocomplete as I type" through options, right? So its not influencing performance for those, who don't want to use this. What more - this option could be acompanied with option autotype delay in ms, which could help to balance the performance. So "no one will autopopup if you do not ask" is not the best argument.

Honestly, I could say I'm confused with this kind of behaviour. Right now I'm user of Zend Studio Proffessional 6.xx. I paid for it and when I tried version 7.xx I don't think I would like to offer Zend more of my money. PhpStorm looked like an option but I'm kind of surprised with the "you need something which could be easily done, could be usefull, but we don't like it" way.

0
Comment actions Permalink

Dmitry, I strongly insist that you refrain from both comments in such a tone and on questions that you have no any right to answer. You will be banned on all JB resources.

0
Comment actions Permalink

Guys, stop arguing - there's a proper place to cast your with - vote button at http://youtrack.jetbrains.net/issue/WI-341 Also, I suggest you to focus on answers given by JetBrains staff - we have a nice JB badge do distinguish.

0
Comment actions Permalink

Alexey, sorry. I can't remember exactly where and when I read this. But the same question has been posted already. And the answer was that showing autocomplete popup without pressing Ctrl+Space is out of your vision of IDE and will not be implemented. I only repeated the answer from that place in this topic. If you have changed you mind from that time than sorry again. I'm personally will be very happy to see this feature in WebIDE (and in IntelliJ IDEA too).

0
Comment actions Permalink

The point was that YOU should never speak on JetBrains authority.

0
Comment actions Permalink

Well, Alexey, there's not really a point in sending us to the issue tracker if you erase our comments there, is it?

0
Comment actions Permalink

I've asked to go and VOTE instead of pointless arguing.

0
Comment actions Permalink

Oh, sorry. I can't even imagine that my post can be considered that I speak on JetBrains authority. I don't have JB badge on avatar. I only repeated what I read about autocomplete feature and told my own opinion about all Eclipse-based editors. I will take into account in my new posts that some forum users can doesn't know anything about JB badges.

0
Comment actions Permalink

So, to you, your users' comments are pointless? And you get to choose which are pointless or not, right? I guess that it is really rather pointless to argue with you. It also seems pointless to vote on an issue in which all seem to be "definitely" decided, even despite there's no visible history about any discussion on the issue... Oh, maybe that was erased too?
A new user (I subscribed your forum and your issue tracker only today), should not have to guess that the issue had already been discussed, specially if there's no track of that discussion, Alexey. Furthermore, you should think about putting a label on that vote button because I only discovered its purpose on the third visit to the page.
Your attitude was very disappointing. I was not expecting to see my input so unappreciated and I guess that the only way, as a consumer, that I have to make you understand that the way you're treating new users is neither polite or commercially sane is by saying goodbye. So, goodbye Alexey and good luck.


0
Comment actions Permalink

Thanks Alexey, have voted, and will keep an eye out for the nice little JB badge on any future form posts.

Is there a thread, blog post, wiki entry or issue tracker that explains the reasons (technical and/or philosophical) for not implementing global autocomplete?
(noticed there is already variable autocomplete and object method/variable autocomplete - wondering what the difficulty in firing ctrl+shift on other keyup cases would be)

Happy that it's not on your adjenda for now. Just interested to know why. If it's just "not enough interest in the feature" that's cool too.

(similar queries about wordwrap, but that's for another thread)

0
Comment actions Permalink

This is one of several standard "holywar" topics for us through the years. I'll add some additional summary to the WI-341 later.

0

Please sign in to leave a comment.