[
https://jira.jboss.org/jira/browse/JBIDE-4846?page=com.atlassian.jira.plu...
]
Alexey Kazakov commented on JBIDE-4846:
---------------------------------------
Ok. JDT suggest annotations only if user typed @. But we could suggest qualifiers before a
type.
For example: "private | SomeType someName;"
But I'm not sure it's a very useful feature because for case "private @|
SomeType someName;" JDT code completion starts working and we can't change an
icon there (but we can add our proposals with our icon and there will be two similar
proposals). The problem is that we can add our own proposals to code completion in java
editor but we can't change proposals that are returned by JDT.
The same for antotations for a class/interface/method.
But anyway let's gether all posible completions here and then we will able to deside
which ones are intresting to have.
1. Qualifiers for injection points (fields/methods/parameters) if user dind't type @
yet:
"private | SomeType someName;"
2. Qualifiers, Stereotypes for classes/interfaces if user dind't type @ yet:
" |
public class SomeBeanType {...}"
3. Possible bean types for injection points:
"private @Async | someName;"
But again, if user typed even first letter of the type name then JDT works and
suggests all possible types.
4. ...
CDI completions
---------------
Key: JBIDE-4846
URL:
https://jira.jboss.org/jira/browse/JBIDE-4846
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: cdi (jsr-299)
Reporter: Pete Muir
Assignee: Alexey Kazakov
Fix For: 3.2.next
Show e.g. qualifiers with a different icon
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira