[jbosstools-issues] [JBoss JIRA] (JBIDE-12404) CDI hyper links should work on modified files correctly

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Tue Aug 7 17:08:06 EDT 2012


Alexey Kazakov created JBIDE-12404:
--------------------------------------

             Summary: 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: 3.4.0.M1


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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list