Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312312

Summary: [ParseTreeConstructor/Formatter] Introduce option to disable token format preservation
Product: [Modeling] TMF Reporter: Moritz Eysholdt <moritz.eysholdt>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: enhancement    
Priority: P3 CC: sebastian.zarnekow
Version: 1.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Moritz Eysholdt CLA 2010-05-10 13:51:30 EDT
Currently, the parse tree constructor always tries to preserve the formatting of tokens (values of terminal rules, datatype rules, cross references, etc.) as they are form the node model. There should be an option to disable this behavior. Detaching the node model from the semantic model is not an option since this would also remove comments.
Comment 1 Sven Efftinge CLA 2012-11-14 04:00:43 EST
Please reopen with a concrete use case.
Comment 2 Eclipse Webmaster CLA 2017-10-31 11:06:47 EDT
Requested via bug 522520.

-M.
Comment 3 Eclipse Webmaster CLA 2017-10-31 11:18:12 EDT
Requested via bug 522520.

-M.