Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Eclipse DSL: Change formatter for projects
Eclipse DSL: Change formatter for projects [message #1860358] Tue, 01 August 2023 06:26 Go to next message
Ad Ge is currently offline Ad GeFriend
Messages: 1
Registered: August 2023
Junior Member
When I click on Project -> Source -> Format, which action is triggered, and how can I modify this action or add a custom formatter for my own DSL files?
Re: Eclipse DSL: Change formatter for projects [message #1860373 is a reply to message #1860358] Tue, 01 August 2023 16:22 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14682
Registered: July 2009
Senior Member
For 1 file Configure the formatter fragment
In the workflow
Run the workflow and implement the generated stub class
Should do the trick

For formatting project completely you have to implement something yourself

Twitter : @chrdietrich
Blog :

[Updated on: Tue, 01 August 2023 17:08]

Report message to a moderator

Previous Topic:Xtext 2.32.0.M2 is out
Next Topic:LSP Support: Multiple Languages in one Server
Goto Forum:

Current Time: Tue May 28 01:15:48 GMT 2024

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

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

Back to the top