Is code completion in annotations already supported in IntelliJ 7?

Hi all,

I was wondering if anyone knew if code completion IN annotations is already supported in the newest IntelliJ. So, I don't mean typeing an '@' an pressing ctrl+space, but I mean code completion IN the annotation, like:


Currently, in IntelliJ 6, no code completion is available for the 'type' value. Also, no CTRL+Click is possible, which is sometimes a bit of an annoyance. So I was wondering if this is already supported in the EAP version.

Greetings,
Erik

11 comments
Comment actions Permalink

I never understood how to figure out the annotation smart completion etc in Intellij 7. M1b. I am doing some Seam stuff (learning it) and it seems the annotation supprot is next to useless even though I have loaded up all the Seam libraries into Intellij. I have to type in the full annotation because it does not automcomplete...just sits there and neither does it provide me suggestions. Only after typing in everything, does Intellij say that it found the appropriate import.

0
Comment actions Permalink

That's quite different from the behaviour I encounter. For me, code completion works (as written above). Except that the text in the annotations is not code completion aware.

0
Comment actions Permalink

Hi all,

I was wondering if anyone knew if code completion IN annotations is already supported in the newest IntelliJ. So, I don't mean typeing an '@' an pressing ctrl+space, but I mean code completion IN the annotation, like:

 @Type(type = "com.somecompany.hibernate.ProductUserType")
> ]]>


Currently, in IntelliJ 6, no code completion is available for the 'type' value. Also, no CTRL+Click is possible, which is sometimes a bit of an annoyance. So I was wondering if this is already supported in the EAP version.

Greetings,
Erik


It is supported

0
Comment actions Permalink

Thanks Peter! Great news indeed! I cant wait for the second Milestone release!

0
Comment actions Permalink

Thanks Peter! Great news indeed! I cant wait for the second Milestone release!

Doesn't it work in M1? It should. Maybe you have some use case that's
not supported? If yes, then please describe it.

0
Comment actions Permalink

I will do some digging around and get back to you. But I have an earlier post in this thread that could be of some help to you...still will do some digging around and see if I can get it to work on M1.

0
Comment actions Permalink

I also can't wait, because it's not supported in the M1 version.

Btw, I think I already described a use case (Hibernate annotations?)

0
Comment actions Permalink

I also can't wait, because it's not supported in the M1 version.

Btw, I think I already described a use case (Hibernate annotations?)


Now I've understood. You mean not just completion in Java annotations,
but completion in particular string constant. This is problem of
Hibernate integration. Could you file a JIRA request?

0
Comment actions Permalink

My completion problem with the EAP 7 builds is this. Say I am typing an annotation and want to complete the package path:

@Test // from import org.junit.Test
@org.testn

In IDEA6 I can complete this to @org.testng and continue typing and/org completing. In IDEA7 the completion fails to do anything.

0

Please sign in to leave a comment.