Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Customize proposals of a grammar(Customize proposals of a grammar)
Customize proposals of a grammar [message #962922] Mon, 29 October 2012 12:37
Martin Knödel is currently offline Martin KnödelFriend
Messages: 1
Registered: October 2012
Junior Member

in my grammar I want to filter/scope proposals.
The grammar
 definitions += Definition*

 'field'  refField = [Field|ID] '=' rule=Rule

 Rule1 | Rule2 | Rule3

Depending on the field only Rule 1 and 2 should be displayed in the content assist.
I tried to customize the method completeDefinition_Rule in MyDslProposalProvider but it didn't work.

Thx for any informations or help!

Previous Topic:Creating an xbase Project
Next Topic:Use ANTLR grammar within Xtext
Goto Forum:

Current Time: Mon May 17 16:13:43 GMT 2021

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

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

Back to the top