Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » How can I perform a ISemanticModification quickfix with formatting?
How can I perform a ISemanticModification quickfix with formatting? [message #913097] Fri, 14 September 2012 15:12 Go to next message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2499
Registered: July 2009
Senior Member
Hi,
When applying a semantic quickfix, I would like the serialization to
also apply formatting. How can I do that?

Regards
- henrik
Re: How can I perform a ISemanticModification quickfix with formatting? [message #913105 is a reply to message #913097] Fri, 14 September 2012 15:31 Go to previous message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2499
Registered: July 2009
Senior Member
On 2012-14-09 21:12, Henrik Lindberg wrote:
> Hi,
> When applying a semantic quickfix, I would like the serialization to
> also apply formatting. How can I do that?
>
I figured out how to always do it, but not if I want to be able to
control formatting as part of a particular quick fix.

There does not seem to be a way to pass this information as it is a
change recorder that transforms the change into a text edit.

Does anyone have any ideas?

Regards
- henrik
Previous Topic:How to hide a root node in outline tree without hiding its children?
Next Topic:Using generator for corresponding xmi file, not just the xtextual
Goto Forum:
  


Current Time: Sat Aug 30 02:29:48 EDT 2014

Powered by FUDForum. Page generated in 0.01542 seconds