[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1138) MVEL code completion does not work for objects as params

Philippe Ombredanne (JIRA) jira-events at lists.jboss.org
Mon Aug 27 14:25:18 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBRULES-1138?page=comments#action_12374048 ] 
            
Philippe Ombredanne commented on JBRULES-1138:
----------------------------------------------

Ok, this has nothing to do with params, but with the fact we are asking completion for an nested expression, which is not yet syntactically correct mvel wise.
textArea.append ( $p 
will not compile in mvel, so we need to think about a way to transform that back into a balanced expression that could compile.
In that case the outer expression is irrelevant from a completion point of view. 
We would need to have some code to parse that, such that we can extract the inner expression and use it for completion.

> MVEL code completion does not work for objects as params
> --------------------------------------------------------
>
>                 Key: JBRULES-1138
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-1138
>             Project: JBoss Rules
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Eclipse IDE
>            Reporter: Mark Proctor
>         Assigned To: Philippe Ombredanne
>             Fix For: 4.0.1
>
>         Attachments: screenshot-1.jpg, screenshot-2.jpg
>
>
> code completion does not work for parameters.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list