[jbosstools-issues] [JBoss JIRA] (JBIDE-10536) Java Seam and CDI quick fixes: after quick fix, editor is scrolled to the beginning. If Undo/Redo commands are used, the entire file content gets selected
Alexey Kazakov (Commented) (JIRA)
jira-events at lists.jboss.org
Thu Dec 22 21:06:10 EST 2011
[ https://issues.jboss.org/browse/JBIDE-10536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652957#comment-12652957 ]
Alexey Kazakov commented on JBIDE-10536:
----------------------------------------
If I use CDI quick fix "select bean to configure the injection point" for the ambiguous dependency I add a quilifier to the bean (a producre method in ma case) and to the injection. In this case if I press Ctrl+Z once I see that the annotation added to the injection is removed but the file is not marked as unsaved. If I press Ctrl+Z second time then the annotation added to the producer is removed too and the file is now marked as unsaved.
Here is my file:
{code}
public class Fish {
@Inject Fish fish;
@Named("fishDulipcatedNameSecond")
@Produces Fish getFish;
}
{code}
Try to configure Fish.getFish producer to be injected to Fish.fish via Quick Fix. Add any quilifer to the fields. Then try to Ctrl+Z.
> Java Seam and CDI quick fixes: after quick fix, editor is scrolled to the beginning. If Undo/Redo commands are used, the entire file content gets selected
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-10536
> URL: https://issues.jboss.org/browse/JBIDE-10536
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: CDI, Seam 2
> Affects Versions: 3.3.0.M4
> Reporter: Daniel Azarov
> Assignee: Alexey Kazakov
> Fix For: 3.3.0.Beta1
>
>
--
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