[jboss-jira] [JBoss JIRA] Created: (JBRULES-2343) Context assist in DSLR Editor

Hamza Bakkali (JIRA) jira-events at lists.jboss.org
Tue Nov 17 05:00:29 EST 2009


Context assist in DSLR Editor
-----------------------------

                 Key: JBRULES-2343
                 URL: https://jira.jboss.org/jira/browse/JBRULES-2343
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 5.0.1.FINAL
         Environment: Eclipse 3.4 Ganymede
            Reporter: Hamza Bakkali
            Assignee: Mark Proctor
             Fix For: 4.0.8


I have been using drools 4 for couple of months now and I am starting to get the hang of it. We recently decided to move to Dools 5 with Eclipse 3.4.2 (Ganymede). 
We unfortunately hit a major 'show stopper' (for us). In the DSLR editor: Context Assist + space + enter removes/replaces the whole line, not only the place holder. 

In other words: 

DSL: 
[*][]Log : {msg}=System.out.println("{msg}"); 
[*][]id1="some id label" 

DSLR: 
rule "MyRule" 
    when 
    then 
end 

If I Press L , control space --> the line Log:{msg} appears in the context menu. Hit enter I get 
Log :{msg} 

Now, If want to replace msg by id1. I position the cursor in the {msg}, hit ctrl space, id1 shows in the list. I hit enter the whole line disappear, and I am left with 
id1 
instead of 
Log : id1 

Is this a setting somewhere in eclipse itself?? I doubt it. 
The same thing use to work as expected in Drools 4. 

thanks.

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

        



More information about the jboss-jira mailing list