I agree. It would be even better if '.' accepted along with enter and tab. That way I could type 'fo.getcl.getn.le<enter>' for 'foo.getClass().getName().length()' rather than 'fo<enter>.getcl<enter>.getn<enter>.le<enter>'.
Or I'd at least like to try it. I think the times when '.' means 'accept the completion' would far outweigh the number of times '.' means '.'
This same problem actually occurs in IDEA already, albeit in a different place. Try this: First, make sure 'Rename local variables in place' is enadbled in the editor settings. Now take the following line of code:
int fooBar = 123;
With the cursor located anywhere on the fooBar variable, press Shift+F6 to rename the variable. Try renaming it to just "foo". It's tricky; if you press Enter or Tab after typing "foo", you end up with "foobar". Instead you have to hit Esc twice, which is a bit painful at times.
Chris
There's actually a prettying interesting discussion concerning why the devs didn't add it (and why I still wish they would):
yeah, that one got me a few times. however, it's different in the autocompletion-case. if i press enter, tab or maybe ".", i *want* to complete the statement as idea suggested. if i want to stop, i simply stop. if i want what i wrote to become a new class, method or member, i press alt+enter. imho, everything is clear.
I agree. It would be even better if '.' accepted along with enter and tab. That way I could type 'fo.getcl.getn.le<enter>' for 'foo.getClass().getName().length()' rather than 'fo<enter>.getcl<enter>.getn<enter>.le<enter>'.
Or I'd at least like to try it. I think the times when '.' means 'accept the completion' would far outweigh the number of times '.' means '.'
Matt
agreed.
jetbrains, we want to see this in the next eap! listen to your fans! :D
Oh, agreed! Using dot as autocomplete would really speed things up.
me too.
Using a dot to complete does seem to fit in the new auto-autocompletion.
Still not sure if I like it, I guess it will take a few days to adjust..
filed:
http://youtrack.jetbrains.net/issue/IDEA-59769?projectKey=IDEA
I would love it, if it weren't tooooo slow on my mid2010 MacBook Pro (Java 1.6, Android Project 2.2).
Anyone else experiencing this?
There's actually a prettying interesting discussion concerning why the devs didn't add it (and why I still wish they would):
http://youtrack.jetbrains.net/issue/IDEA-59718?query=by:+John.Lindquist
If you comment on that thread, please read all the way through first to completely understand why it's intentionally left out.
This same problem actually occurs in IDEA already, albeit in a different
place. Try this: First, make sure 'Rename local variables in place' is enadbled
in the editor settings. Now take the following line of code:
int fooBar = 123;
With the cursor located anywhere on the fooBar variable, press Shift+F6 to
rename the variable. Try renaming it to just "foo". It's tricky; if you press
Enter or Tab after typing "foo", you end up with "foobar". Instead you have
to hit Esc twice, which is a bit painful at times.
Chris
yeah, that one got me a few times. however, it's different in the autocompletion-case. if i press enter, tab or maybe ".", i *want* to complete the statement as idea suggested. if i want to stop, i simply stop. if i want what i wrote to become a new class, method or member, i press alt+enter. imho, everything is clear.