Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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
hans-georg Mising name is currently offline hans-georg Mising name
Messages: 79
Registered: July 2009
Member
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
Jan Koehnlein is currently offline Jan Koehnlein
Messages: 656
Registered: July 2009
Senior Member
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: Wed Aug 20 01:11:59 EDT 2014

Powered by FUDForum. Page generated in 0.02570 seconds