[
https://issues.jboss.org/browse/JBIDE-12404?page=com.atlassian.jira.plugi...
]
Jaroslav Jankovič closed JBIDE-12404.
-------------------------------------
Verified in JBT 4.0.0.Alpha2-v20120928-0052-B17
CDI hyper links should work on modified files correctly
-------------------------------------------------------
Key: JBIDE-12404
URL:
https://issues.jboss.org/browse/JBIDE-12404
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: CDI
Reporter: Alexey Kazakov
Assignee: Daniel Azarov
Fix For: 4.0.0.Alpha2
1. Create a cdi project.
2. Create an empty test.Test class.
3. Modify the file (don't save it!):
{code}
package test;
import javax.enterprise.inject.Produces;
import javax.inject.Inject;
import javax.inject.Named;
public class Test {
@Inject @Named Test2 create;
@Produces
@Named
public Test2 create() {
return new Test2();
}
@Produces
@Named("create")
public Test2 create2() {
return new Test2();
}
public static class Test2 {
}
}
{code}
4. Try Ctrl+click on the injection. It should suggest to navigate to the producers.
Right now it's not working until you saved the file.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira