Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365591 - [Xtend] sorting outline doesn't work
Summary: [Xtend] sorting outline doesn't work
Status: CLOSED WORKSFORME
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.2.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: M4   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-05 08:59 EST by Moritz Eysholdt CLA
Modified: 2017-09-19 17:34 EDT (History)
1 user (show)

See Also:
jan: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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