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

Bug 365591

Summary: [Xtend] sorting outline doesn't work
Product: [Modeling] TMF Reporter: Moritz Eysholdt <moritz.eysholdt>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: major    
Priority: P3 CC: jan
Version: 2.2.0Flags: jan: juno+
Target Milestone: M4   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Moritz Eysholdt CLA 2011-12-05 08:59:21 EST
Example:

---
class Foo {
  def instance2() {}
  def instance1() {}
  def static static2() {}
  def static static1() {}
  new () {}
}
---

With the button "sort" in the Outline View being disabled, the order in the outline view is identical to the order in the file. This is as expected. 

Pressing the button, however, has no impact. I'd expect the order new(), static1, static2, instance1, instance2.
Comment 1 Moritz Eysholdt CLA 2011-12-05 09:02:06 EST
correction: statics before constructors: 

static1, static2, new(), instance1, instance2.
Comment 2 Jan Koehnlein CLA 2011-12-09 03:57:30 EST
I cannot reproduce this with the MASTER version. I guess that has been fixed with the latest outline fixes.
Comment 3 Karsten Thoms CLA 2017-09-19 17:22:53 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 4 Karsten Thoms CLA 2017-09-19 17:34:19 EDT
Closing all bugs that were set to RESOLVED before Neon.0