Ctrl + Shift + Enter doesn't work

I tried new code completion feature with Ctrl + Shift + Enter but it doesn't work. It only generates semi-colon.

Does anybody have same problem?

11 comments
Comment actions Permalink

Yeah I tried it a couple of times but it didn't seem to do anything...

N.

t800t8 wrote:

I tried new code completion feature with Ctrl + Shift + Enter but it doesn't work. Does anybody have same problem?

0
Comment actions Permalink

Although specifically trying it now, it seems to work :S

N.

Nathan Brown wrote:

Yeah I tried it a couple of times but it didn't seem to do anything...

N.

t800t8 wrote:

>> I tried new code completion feature with Ctrl + Shift + Enter but it
>> doesn't work. Does anybody have same problem?

0
Comment actions Permalink

For

true]]>


it generates


And for

"true"]]>


it generates


:S

0
Comment actions Permalink

You are executing it from within 'code completion mode' yes?

N.

t800t8 wrote:

For

true]]>


it generates



And for

"true"]]>


it generates



:S

0
Comment actions Permalink

Sorry, I don't understand what you mean. But I tried as same as in releate notes: http://www.jetbrains.net/confluence/display/IDEADEV/EAP7087Release+Notes

0
Comment actions Permalink

I meant that you'd executed code complete in some form first, but the
release notes show this so I guess you are then :)

N.

t800t8 wrote:

Sorry, I don't understand what you mean. But I tried as same as in releate notes: http://www.jetbrains.net/confluence/display/IDEADEV/EAP7087Release+Notes

0
Comment actions Permalink

I did a stupid way. Typing "frame.setVisibletrue", then move cursor before "true" then Ctrl + Shift + Enter :-D

I should do like this: Type "frame.set" (or something), Ctrl + Space to show the intellisense list, then Ctrl + Shift + Enter to complete + wrap "true".

Actually, I think users will rarely use this completion feature.

Message was edited by:
t800t8

0
Comment actions Permalink

t800t8 wrote:

Actually, I think users will rarely use this completion feature.


Not true, I have been wanting this for ages. I often have a variable
that I discover I have to transform in some way, so this fits my
workflow admirably. (I previously had a live template "wrap with method
call" but it was a bit rough-and-ready.)

Now if only I could get it to work ;)
R

0
Comment actions Permalink

OK, I see.

But I found that it doesn't work in an consistent way.

For

true]]>


I press Ctrl + Space, IDEA will show intellisense list (even the list only contains setVisible) and this time I can press Ctrl + Shift + Enter to complete + wrap "true".

But for

"title"]]>


If I press Ctrl + Space, IDEA will complete setTitle(), and I have no way to wrap "title".

0
Comment actions Permalink

Sounds like a bug to me, have you filed a JIRA issue?
R

0

Please sign in to leave a comment.