Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Syntax Highlighting for One Particular keyword(Syntax Highlighting for One Particular keyword)
Syntax Highlighting for One Particular keyword [message #1729936] Wed, 20 April 2016 07:07 Go to next message
Eclipse UserFriend
Hi,

I have a parser rule:

HashCode: '#' ID

I want to write a syntax like #test

But I don't know '#' not highlighted why?

I want to show it in green color as comment but I don't want it in terminal SL_COMMENT. what should I do?
Re: Syntax Highlighting for One Particular keyword [message #1729941 is a reply to message #1729936] Wed, 20 April 2016 08:01 Go to previous message
Eclipse UserFriend
have a look at DefaultAntlrTokenToAttributeIdMapper
Previous Topic:Xtext dynamic content assist without typing ctrl+space
Next Topic:How to add underline to my textStyle
Goto Forum:
  


Current Time: Wed Jul 02 23:43:38 EDT 2025

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

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

Back to the top