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

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Fri Aug 24 16:19:15 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-12404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713663#comment-12713663 ] 

Viacheslav Kabanovich commented on JBIDE-12404:
-----------------------------------------------

Change in CDIProject committed for JBIDE-12417 could interfere with this.
                
> 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: Viacheslav Kabanovich
>             Fix For: 4.0.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