Skip to main content


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 10:33 Go to next message
Hans-Georg Glöckler is currently offline Hans-Georg GlöcklerFriend
Messages: 88
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 08:25 Go to previous message
Jan Koehnlein is currently offline Jan KoehnleinFriend
Messages: 760
Registered: July 2009
Location: Hamburg
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


---
Get professional support from the Xtext committers at www.typefox.io
Previous Topic:Dangling references in XText editor
Next Topic:Resolving proxies for Java types fails when model is loaded externally
Goto Forum:
  


Current Time: Thu Mar 28 18:04:30 GMT 2024

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

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

Back to the top