Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Customizable formatting for the Xtext editor
Customizable formatting for the Xtext editor [message #989390] Thu, 06 December 2012 01:45
Allan T is currently offline Allan TFriend
Messages: 2
Registered: December 2012
Junior Member
The Eclipse preferences doesn't seem to provide any settings under the XText node regarding formatting or indentation.

E.g. I'm pretty much used to having rule definitions formatted the following way:

    : 'rule1' ID
    | 'rule2' ID

Though, if I add a semicolon right after the rule's name and press Enter (or simply reformat the document), the editor will format it as

    'rule1' ID
    | 'rule2' ID

Question: Is it possible to customize the formatting of the Xtext editor such as a cofiguration file?

Previous Topic:Bug parsing Xtext file
Next Topic:Errors and warnings not shown in my editor
Goto Forum:

Current Time: Wed Aug 23 13:59:48 GMT 2017

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

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