Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Code formatting fails(as long as the model is faulty.)
Code formatting fails [message #795503] Fri, 10 February 2012 14:48
Philipp Missing name is currently offline Philipp Missing nameFriend
Messages: 7
Registered: November 2010
Junior Member
I have implemented my own DeclarativeFormatter by extending AbstractDeclarativeFormatter.

The formatting works well as long as the model has no faults.

Is the model faulty also the formatting fails resulting in a big mess in my model.

I think the best would be to prevent Eclipse from formatting if the model is faulty.

Does anybody has an idea how to implement it? Or has some better idea to solve this issue.

Regards Philipp
Previous Topic:How to modify Xtext resources programmatically
Next Topic:Use xtext-based plugin as base for another grammar
Goto Forum:

Current Time: Wed Apr 01 22:25:24 GMT 2020

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

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

Back to the top