Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Custom Content Assist(Customizing content assist extended)
Custom Content Assist [message #915409] Mon, 17 September 2012 08:17 Go to next message
paolo pinkel is currently offline paolo pinkelFriend
Messages: 10
Registered: July 2012
Junior Member

I want to customize my content Assist.
The implementation of this however seems quite hard to me.

My Grammar is like a context free grammar, and i want to provide the names of terminals and nonterminals on the righthandside.
However since I am also referencing Terminals defined in another grammar file I am not able to do this by grammar design.
So I want to be able to access certain model elements within my completeElem_TerminalName Method. Is there a possibility to access the model within this method?

Thank you very much!
Re: Custom Content Assist [message #915653 is a reply to message #915409] Mon, 17 September 2012 17:32 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 11970
Registered: July 2009
Senior Member

the ContentAssistContext offers you everything you need.


Need professional support for Xtext, Xpand, EMF?
Go to:
Twitter : @chrdietrich
Blog :
Previous Topic:ECore Double attribute does not show its name in content assist editor
Next Topic:How to get objects from a resource from within the ProposalProvider ?
Goto Forum:

Current Time: Fri May 25 13:12:56 GMT 2018

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

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

Back to the top