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

12 comments
Comment actions Permalink

Are you sure that it isn't word completion?

0
Comment actions Permalink

Dmitry Kashin wrote:

Are you sure that it isn't word completion?

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

0
Comment actions Permalink

Waiting impatiently to examine :) Thanks a lot

0
Comment actions Permalink

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


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!

0
Comment actions Permalink

Igor

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.

>

Could you give a few examples of this new stuff?

Alain

0
Comment actions Permalink

It's simply great to use with CamelCase completion, e.g.
throw new IA
and hit Ctrl-Space.



That's great.


Alain

0
Comment actions Permalink

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:

Igor

>> 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.
>>


Could you give a few examples of this new stuff?
Alain

0
Comment actions Permalink

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

0
Comment actions Permalink

Alain Ravet wrote:

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<cursor here>
private String name;
Press <Ctrl-Space>, and have IDEA create the getter
public String getName (){ return name;}
private String name;
Still a reasonable request, don't you think?

Yes it is but we can't do this right now.

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?

If you have unresolved symbol inside codeblock/class/etc. completion
will add used name to lookup list.

IK

0
Comment actions Permalink

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)

0
Comment actions Permalink


>> Still a reasonable request, don't you think?
>

Yes it is but we can't do this right now.

>


Posted:
<Ctrl-Space> further enhancement
http://www.jetbrains.net/jira/browse/IDEA-2714

Alain

0
Comment actions Permalink

Thanks Alain.

IK


Posted:
<Ctrl-Space> further enhancement
http://www.jetbrains.net/jira/browse/IDEA-2714

Alain

0

Please sign in to leave a comment.