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] Wed, 05 December 2012 20:45
Allan T is currently offline Allan T
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:Strange behavior of JvmTypeReference assignments
Next Topic:Ambiguous grammar
Goto Forum:

Current Time: Fri Aug 01 03:48:38 EDT 2014

Powered by FUDForum. Page generated in 0.02594 seconds