[rules-users] DSLR Editor: Context Assist + Enter deletes the who line? Is is broken??

mehdi bennani mehdibennani at hotmail.com
Tue Oct 6 07:35:07 EDT 2009


Hi guys,

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.
/elextra


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20091006/72454a85/attachment.html 


More information about the rules-users mailing list