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

Bug 320502

Summary: [formatter] formatting (Ctrl-Shift-F) should not reusult in one long line as default
Product: [Modeling] TMF Reporter: Dietmar Stoll <btickets>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: minor    
Priority: P3 CC: moritz.eysholdt
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Dietmar Stoll CLA 2010-07-21 09:13:18 EDT
Build Identifier: I20100608-0911

The default behavior of the automatic code formatting for newly created DSLs should, in my opinion, do rather nothing instead of concatenating all words with a space, resulting in a single long line.

Reproducible: Always

Steps to Reproduce:
1. Create an example project, e.g. the domain model with the wizard.
2. Run it (runtime workbench), create a file conforming to the grammar
3. Use Ctrl-Shift-F to automatically format it - it is one long line.
Comment 1 Moritz Eysholdt CLA 2011-01-11 08:42:49 EST
Formatting it in one line shows off that there actually is such a thing as formatting and it reminds the developer to implement it.

For the user, there is always STRG-Z if he doesn't like the result.

This is of course something that can be discussed.
Comment 2 Moritz Eysholdt CLA 2011-02-07 09:07:20 EST
closed as won't fix. If somebody objects, please reopen.