Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Call Formatter(Formatter-Classes are not called)
Call Formatter [message #1209096] Mon, 25 November 2013 05:33 Go to next message
Eclipse UserFriend
I use Xtext 2.4.1

I have a DSL with 2 Formatter-Classes:
.../xtext/formatting/EntityFormatter.java
.../xtext/formatting/EntityGrammarFormatter.java

In this Files I have defined my Formatting. When I debug my DSL this files never are called. I can format my DSL by calling CTRL+SHIFT+F, but the DSL never calls this 2 classes.
Where can I look for that this classes are called?
Re: Call Formatter [message #1211049 is a reply to message #1209096] Tue, 26 November 2013 03:25 Go to previous message
Eclipse UserFriend
Did you synchronize the plugin.xml in your ui-project? This is where the
command is registered.


Am 25.11.13 11:33, schrieb hans-georg Mising name:
> I use Xtext 2.4.1
>
> I have a DSL with 2 Formatter-Classes:
> ../xtext/formatting/EntityFormatter.java
> ../xtext/formatting/EntityGrammarFormatter.java
>
> In this Files I have defined my Formatting. When I debug my DSL this
> files never are called. I can format my DSL by calling CTRL+SHIFT+F, but
> the DSL never calls this 2 classes. Where can I look for that this
> classes are called?


--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Previous Topic:Dangling references in XText editor
Next Topic:Resolving proxies for Java types fails when model is loaded externally
Goto Forum:
  


Current Time: Tue Jul 08 00:00:38 EDT 2025

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

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

Back to the top