Hey! Completion from unknown symbol now works!
Vastly cool. That makes 3368 a perfect EAP build. It's got cool new features, many fixes, a few new exceptions, and one extra-special completely unannounced feature as an easter egg!
But seriously. Thanks a lot for this feature. I've wanted it for a long time, and it actually does improve my life noticably. A great example of a nice bit of automation that's now better than it really has to be.
--Dave Griffith
Please sign in to leave a comment.
Are you sure that it isn't word completion?
Dmitry Kashin wrote:
It is not. Also try to complete names more often and you'll see other
major changes in name completion. We hope that we've changed user
experience for this nearly useless feature.
IK
Waiting impatiently to examine :) Thanks a lot
I think it's everything else but "nearly useless".
It's simply great to use with CamelCase completion, e.g.
throw now IA
and hit Ctrl-Space.
As soon as camel case completion worked in the editor, I
have been missing a combination of type-safe (smart) plus
class (not yet inported) code completion.
Cool - thanks for another usability feature!
Igor
>
Could you give a few examples of this new stuff?
Alain
That's great.
Alain
Sure.
-- Override/implement method name completion
-- Setters/getters
-- Unresolved symbols
-- Statistics based name completion (by type, you can complete your
favorite int offset or int length (5 top used names with provided prefix
will be listed in lookup))
IK
Alain Ravet wrote:
>> It is not. Also try to complete names more often and you'll see other
>> major changes in name completion. We hope that we've changed user
>> experience for this nearly useless feature.
>>
Igor
> -- Setters/getters
OK. Though, one must write the correct signature first.
The neat thing would be to make it work on code like this:
get private String name; Press , and have IDEA create the getter public String getName (){ return name;} private String name; Still a reasonable request, don't you think? > -- Statistics based name completion (by type, .. OK >> -- Override/implement method name completion OK, bus same remark as for getters/setters: we must write the correct signature first. The same enhancement would be welcome. >>]]> -- Unresolved symbols
How does this one work?
Alain
Alain Ravet wrote:
Yes it is but we can't do this right now.
If you have unresolved symbol inside codeblock/class/etc. completion
will add used name to lookup list.
IK
This didn't work for me... In this case:
int x = whatAmIDoing + 2;
Then after this line,
int z = wha<Ctrl+Space>
I get 'No suggestions'. I'd like it to fill in unknown symbols, even if they haven't been declared.
(Typing "int wha<Ctrl+Space>" BEFORE the line works fine, though)
>> Still a reasonable request, don't you think?
>
>
Posted:
<Ctrl-Space> further enhancement
http://www.jetbrains.net/jira/browse/IDEA-2714
Alain
Thanks Alain.
IK