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

Bug 346234

Summary: Formatter / Pretty Printer
Product: [Tools] Xtend Reporter: Joerg Reichert <joerg83reichert>
Component: CoreAssignee: Project Inbox <xtend-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: christian.dietrich.opensource, dan, jan, karsten.thoms, klaus.birken, matthias.wienand, moritz.eysholdt, nowind_lee, sven.efftinge, thsoft
Version: 2.2.0Flags: sven.efftinge: kepler+
Target Milestone: M4   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Joerg Reichert CLA 2011-05-18 09:20:04 EDT
Build Identifier: Eclipse 3.6.2 M20110210-1200, Xtext 2.0.0.v201105171404

the default command for pretty printing produces unreadable code in Xtend2 Editor, a Xtext Formatter have to be implemented for the Xtend2 grammar

Reproducible: Always

Steps to Reproduce:
1. Create a file with file extension .xtend
2. Open file with Xtend2 editor and enter valid Xtend2 code
3. Press SHFT+CMD+F (under Mac) (or select Format in context menu of editor content)
Comment 1 Sebastian Zarnekow CLA 2011-08-17 08:31:21 EDT
*** Bug 354942 has been marked as a duplicate of this bug. ***
Comment 2 Sebastian Zarnekow CLA 2011-08-17 08:31:46 EDT
*** Bug 352190 has been marked as a duplicate of this bug. ***
Comment 3 Sven Efftinge CLA 2011-10-19 08:22:09 EDT
Won't make it into 2.1, unfortunately
Comment 4 Moritz Eysholdt CLA 2011-11-24 09:02:31 EST
*** Bug 364682 has been marked as a duplicate of this bug. ***
Comment 5 Dénes Harmath CLA 2011-12-28 09:16:35 EST
Can you give an estimated target version? Not hastening, just curious...
Comment 6 Sven Efftinge CLA 2011-12-28 13:52:03 EST
Maybe 2.3 (June 2012)
Comment 7 Sven Efftinge CLA 2012-12-20 02:10:25 EST
Part of M4.
Any outstanding issues or bugs should be tracked in additional bugzillas.
Comment 8 Eclipse Webmaster CLA 2017-10-31 11:07:48 EDT
Requested via bug 522520.

-M.
Comment 9 Eclipse Webmaster CLA 2017-10-31 11:19:16 EDT
Requested via bug 522520.

-M.