Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » formatter fragment in project from an existing ecore model
formatter fragment in project from an existing ecore model [message #1733071] Tue, 24 May 2016 08:34
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1754
Registered: July 2009
Location: Firenze, Italy
Senior Member
Hi

I tried to create a new project from an existing ecore model with the
current Xtext 2.10.

In the mwe2 there's also this part

fragment = org.eclipse.xtext.generator.adapter.FragmentAdapter {
fragment = org.eclipse.xtext.generator.ecore2xtext.FormatterFragment {}
}

which enables old style formatter.

Why is it so?

thanks in advance
Lorenzo

--
Prof. Lorenzo Bettini, Computer Science, DISIA, Univ. Firenze
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
Previous Topic:How to modify a model which is not opened in an editor ?
Next Topic:Eclipse Che and XText
Goto Forum:
  


Current Time: Sat Nov 16 01:33:06 GMT 2019

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

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

Back to the top