Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » How to show a word as a keyword inside a statement(How to show a word as a keyword inside a statement)
How to show a word as a keyword inside a statement [message #1732337] Mon, 16 May 2016 10:00 Go to next message
RamaRao Nandamuri is currently offline RamaRao NandamuriFriend
Messages: 120
Registered: April 2016
Senior Member
Hi,

How to show a word as a keyword inside a statement

I have syntax call method_name()

I have some predefined methods.

If the method name is a predefined method it should be highlighted as a keyword else it should not be highlighted
Re: How to show a word as a keyword inside a statement [message #1732342 is a reply to message #1732337] Mon, 16 May 2016 11:36 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13193
Registered: July 2009
Senior Member
The Xtext feature to realize such a thing is called "semantic highlighting"

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: How to show a word as a keyword inside a statement [message #1732352 is a reply to message #1732342] Mon, 16 May 2016 13:03 Go to previous message
RamaRao Nandamuri is currently offline RamaRao NandamuriFriend
Messages: 120
Registered: April 2016
Senior Member
thank you. Got it!!!
Previous Topic:name auto generation
Next Topic:Hierarchy View / Quick Hierarchy Popup
Goto Forum:
  


Current Time: Mon Nov 18 04:17:16 GMT 2019

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

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

Back to the top