Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Fomratting won't work correctly when save xtext resource programmatically AbstractFormatter2(Fomratting won't work correctly when save xtext resource programmatically AbstractFormatter2)
Fomratting won't work correctly when save xtext resource programmatically AbstractFormatter2 [message #1854095] Mon, 01 August 2022 10:05 Go to next message
Nagaraj Kandoor is currently offline Nagaraj KandoorFriend
Messages: 56
Registered: May 2020
Member
When I try to save xtext resource programmatically formatting won't work correctly? if I apply manual formatting from editor it works.

We are extending AbstractFormatter2.
Before saving i move few object in emf and save.
Do semantic model differ when we save resource programmatically?

Any input will be appreciated.


Thanks
Nagaraj

[Updated on: Mon, 01 August 2022 12:46]

Report message to a moderator

Re: Fomratting won't work correctly when save xtext resource programmatically AbstractFormatter2 [message #1854106 is a reply to message #1854095] Mon, 01 August 2022 14:16 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
This is an Xtext question:

https://www.eclipse.org/forums/index.php?t=thread&frm_id=27


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Fomratting won't work correctly when save xtext resource programmatically AbstractFormatter2 [message #1854108 is a reply to message #1854106] Mon, 01 August 2022 15:04 Go to previous messageGo to next message
Nagaraj Kandoor is currently offline Nagaraj KandoorFriend
Messages: 56
Registered: May 2020
Member
@Oh sorry Ed Merks if possible can you delete this question here.
Re: Fomratting won't work correctly when save xtext resource programmatically AbstractFormatter2 [message #1854110 is a reply to message #1854108] Mon, 01 August 2022 15:07 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Don't worry, be happy. :-)

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:EMF.edit gestString multiple editors & cross references
Next Topic:a registered resource factory is needed" outside the generated editor
Goto Forum:
  


Current Time: Fri Apr 26 05:10:30 GMT 2024

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

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

Back to the top