Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320502 - [formatter] formatting (Ctrl-Shift-F) should not reusult in one long line as default
Summary: [formatter] formatting (Ctrl-Shift-F) should not reusult in one long line as ...
Status: CLOSED WONTFIX
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-21 09:13 EDT by Dietmar Stoll CLA
Modified: 2011-02-07 09:07 EST (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 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.