You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are 3 scenarions where autocompletion/importing does not work.
@NamedQueries({ @NamedQuery(name = InnerClass, query = "SELECT t FROM Test t WHERE t.id = :id") })
The InnerClass is recognized, but can not be imported into java class. The ineer class is defined within same class where annotation is present.
@NamedQueries({ @NamedQuery(name = "test", query = "SELECT t FROM Test t WHERE t.id = :id"), @NamedQuery(name = "testOne", query = "SELECT t FROM Test t WHERE t.id = :id") })
@NamedQueries can not be autocompleted and imported. The only way it is working is when there is only one item in array.
`public @interface Test {
Class<?>[] groups() default {};
List
}`
The List can not be autocompleted, the only way it is working is when Class<?>[] groups() default {}; is commented.
Also, all scenarios are within project attached and well documented. Please take a look. vs-code-test.zip
Environment
Operating System: Arch Linux
JDK version: 21
Visual Studio Code version: 1.88
Java extension version: 1.29
The text was updated successfully, but these errors were encountered:
There are 3 scenarions where autocompletion/importing does not work.
@NamedQueries({ @NamedQuery(name = InnerClass, query = "SELECT t FROM Test t WHERE t.id = :id") })
The InnerClass is recognized, but can not be imported into java class. The ineer class is defined within same class where annotation is present.
@NamedQueries({ @NamedQuery(name = "test", query = "SELECT t FROM Test t WHERE t.id = :id"), @NamedQuery(name = "testOne", query = "SELECT t FROM Test t WHERE t.id = :id") })
@NamedQueries can not be autocompleted and imported. The only way it is working is when there is only one item in array.
Class<?>[] groups() default {};
List
}`
The List can not be autocompleted, the only way it is working is when Class<?>[] groups() default {}; is commented.
Also, all scenarios are within project attached and well documented. Please take a look.
vs-code-test.zip
Environment
The text was updated successfully, but these errors were encountered: