Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Content Assist for multi Word
Content Assist for multi Word [message #1729812] Tue, 19 April 2016 09:20 Go to next message
pranay roy is currently offline pranay royFriend
Messages: 196
Registered: January 2016
Senior Member
I am representing the name as


I am trying to get content assist work for web.

As I understand ,a Name can be 1 or more IDs .

like pranay roy .

When I type pra

The rule called NameRule gets fired.

when I type pranay r . I do not see this rule getting fired. I understand that since the rule condition (1 word) is satisfied, it does not fire. But I want to trigger it for the next word as well.

So, In summary,
When I represent something as ID+ . Should only expect the rule to trigger only once. or more than once (for more than one word).How can I trigger that Particular rule as I add more word

[Updated on: Tue, 19 April 2016 09:30]

Report message to a moderator

Re: Content Assist for multi Word [message #1729818 is a reply to message #1729812] Tue, 19 April 2016 10:10 Go to previous message
Uli Merkel is currently offline Uli MerkelFriend
Messages: 248
Registered: June 2013
Senior Member
with value=ID+ you have only a "variable" for a single entry, so only one name is expected.
If you want an array of names, you have to change it at least to a: value+=ID+

the += is making the difference.

[Updated on: Tue, 19 April 2016 10:11]

Report message to a moderator

Previous Topic:Content Assist with INT
Next Topic:Application freezes when typing an undefined terminal
Goto Forum:

Current Time: Thu May 28 22:58:41 GMT 2020

Powered by FUDForum. Page generated in 0.01702 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top