Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344863 - M7: Auto-line-wrap no longer works
Summary: M7: Auto-line-wrap no longer works
Status: CLOSED INVALID
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-05 12:32 EDT by Ed Willink CLA
Modified: 2017-09-19 17:29 EDT (History)
0 users

See Also:


Attachments
Grammar and formatter (10.48 KB, application/zip)
2011-05-05 12:32 EDT, Ed Willink CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2011-05-05 12:32:13 EDT
Created attachment 194851 [details]
Grammar and formatter

A long complex expression as the SpecificationCS  in 

DerivedConstraintCS returns OCLinEcoreConstraintCS:
	stereotype='derivation' ':' specification=SpecificationCS ';'
;

is all on one line, following a line break after the ':'.

e.g.

           let table : Set(Tuple(range : Sequence(Integer), size : CompanySizeKind)) = Set{Tuple{range = Sequence{0..49}, size = CompanySizeKind::small}, Tuple{range = Sequence{50..999}, size = CompanySizeKind::medium}, Tuple{range = Sequence{1000..1000000}, size = CompanySizeKind::large}} in table->any(range->includes(employees->size())).size;

On M5, the formatting was, I think, reasonable. On M6 there were line breaks but with some but inadequate indentation. On M7 it's all on one line.
Comment 1 Ed Willink CLA 2011-05-07 12:35:19 EDT
I'm not convinced that this report is valid. I've found a couple of smelly aspects of my code. So INVALID for now, I'll REOPEN if I can produce a more confident report.
Comment 2 Karsten Thoms CLA 2017-09-19 17:17:55 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:29:14 EDT
Closing all bugs that were set to RESOLVED before Neon.0