Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312312 - [ParseTreeConstructor/Formatter] Introduce option to disable token format preservation
Summary: [ParseTreeConstructor/Formatter] Introduce option to disable token format pre...
Status: CLOSED WORKSFORME
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 1.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-10 13:51 EDT by Moritz Eysholdt CLA
Modified: 2017-10-31 11:18 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.