[jbosstools-issues] [JBoss JIRA] (JBIDE-11492) When inserting methods with parameters, CA sets cursor incorrectly

Jaroslav Jankovič (JIRA) jira-events at lists.jboss.org
Mon Apr 23 08:08:17 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-11492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jaroslav Jankovič closed JBIDE-11492.
-------------------------------------



Verified with 3.3.0.v20120421-1619-H4711-Beta3.
                
> When inserting methods with parameters, CA sets cursor incorrectly
> ------------------------------------------------------------------
>
>                 Key: JBIDE-11492
>                 URL: https://issues.jboss.org/browse/JBIDE-11492
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: CDI, jsp/jsf/xml source editing
>    Affects Versions: 3.3.0.Beta1
>            Reporter: Viacheslav Kabanovich
>            Assignee: Victor Rubezhny
>            Priority: Minor
>             Fix For: 3.3.0.Beta3
>
>
> EXECUTE: Create CDI producer field bean
> {code}
> @Produces
> @Named("abc")
> String s;
> {code}
> EXECUTE: Write EL in a page
> {code}
> #{abc.substring(1).}
> {code}
> EXECUTE: Call CA after the last dot and select substring(int).
> ASSERT: Cursor is located as abc.substring(1).substring(|)
> FAILURE: Cursor is located as abc.substring(|1).substring()
> By the way, this feature is missing in Java sources. Is it possible to implement it there to let CA have everywhere the same logic?

--
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