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 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:

MyRyle
    : '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

MyRule:
    'rule1' ID
    | 'rule2' ID
;


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


Allan
Previous Topic:Strange behavior of JvmTypeReference assignments
Next Topic:Ambiguous grammar
Goto Forum:
  


Current Time: Sat Oct 25 03:39:41 GMT 2014

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

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