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

Bug 358202

Summary: [Xtend] Declaration View
Product: [Tools] Xtend Reporter: Sebastian Zarnekow <sebastian.zarnekow>
Component: BacklogAssignee: Project Inbox <xtend-inbox>
Status: REOPENED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: clay, knut.wannheden, sven.efftinge
Version: 2.2.0Flags: sven.efftinge: juno+
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
proposed patch none

Description Sebastian Zarnekow CLA 2011-09-20 04:35:04 EDT
A declaration view similar to Java's declaration view would be interesting. This view could inject all the infered types into the Xtend code.
Comment 1 Knut Wannheden CLA 2011-09-20 04:45:56 EDT
It would probably make sense to define some of the generic supporting code in the xtext.ui plug-in as this could be useful to many Xtext based DSLs.
Comment 2 Michael Clay CLA 2012-01-26 16:38:28 EST
Created attachment 210154 [details]
proposed patch
Comment 3 Sven Efftinge CLA 2012-01-30 04:56:25 EST
(In reply to comment #1)
> It would probably make sense to define some of the generic supporting code in
> the xtext.ui plug-in as this could be useful to many Xtext based DSLs.

+1 this should go into Xtext. The patch doesn't seem to have any Xtend dependencies so far.
Comment 4 Michael Clay CLA 2012-01-31 13:34:15 EST
pushed to master
Comment 5 Sven Efftinge CLA 2012-02-07 08:55:22 EST
The declaration view should refer to services from the declaring language, using IUiResourceServiceProvider. 

Every language has different syntax coloring, and it should be possible to provide contributions for non-Xtext languages (e.g. Java / JDT).