[jbosstools-issues] [JBoss JIRA] (JBIDE-11492) When inserting methods with parameters, CA sets cursor incorrectly
Viacheslav Kabanovich (JIRA)
jira-events at lists.jboss.org
Thu Apr 5 14:36:47 EDT 2012
Viacheslav Kabanovich created JBIDE-11492:
---------------------------------------------
Summary: 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