Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Remove items in Preferences(Remove items in Preferences)
Remove items in Preferences [message #1729987] Wed, 20 April 2016 12:32 Go to next message
Eclipse UserFriend
Hi,

I extended DefaultHighlightingConfiguration in order to get the syntax highlighting run. I also noticed that by going to Windows > Preferences, it will allow us to customize the color for each token for the dsl.

As shown in the attachment,
compiler, refactoring, syntax coloring and template
are generated as options in the preference dialog.

However, I would only require syntax coloring to exist in my case.
How could I make this happen?

Thank you
  • Attachment: Capture.PNG
    (Size: 66.14KB, Downloaded 364 times)
Re: Remove items in Preferences [message #1729996 is a reply to message #1729987] Wed, 20 April 2016 14:11 Go to previous messageGo to next message
Eclipse UserFriend
in plugin xml you find

<extension point="org.eclipse.ui.preferencePages">
<page
category="org.xtext.example.mydsl10.MyDsl"
class="org.xtext.example.mydsl10.ui.MyDslExecutableExtensionFactory:org.eclipse.xtext.ui.refactoring.ui.RefactoringPreferencePage"
id="org.xtext.example.mydsl10.MyDsl.refactoring"
name="Refactoring">
<keywordReference id="org.xtext.example.mydsl10.ui.keyword_MyDsl"/>
</page>
</extension>
<extension point="org.eclipse.ui.preferencePages">
<page
category="org.xtext.example.mydsl10.MyDsl"
class="org.xtext.example.mydsl10.ui.MyDslExecutableExtensionFactory:org.eclipse.xtext.builder.preferences.BuilderPreferencePage"
id="org.xtext.example.mydsl10.MyDsl.compiler.preferencePage"
name="Compiler">
<keywordReference id="org.xtext.example.mydsl10.ui.keyword_MyDsl"/>
</page>
</extension>

etc
Re: Remove items in Preferences [message #1730027 is a reply to message #1729996] Thu, 21 April 2016 00:31 Go to previous message
Eclipse UserFriend
okok
Thankz Christian for your quick support...
Really appreciate your help
Previous Topic:Refering to UML elements
Next Topic:Lexical Hightlighting
Goto Forum:
  


Current Time: Fri Jul 25 07:39:39 EDT 2025

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

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

Back to the top