Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358202 - [Xtend] Declaration View
Summary: [Xtend] Declaration View
Status: REOPENED
Alias: None
Product: Xtend
Classification: Tools
Component: Backlog (show other bugs)
Version: 2.2.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-20 04:35 EDT by Sebastian Zarnekow CLA
Modified: 2012-11-08 04:22 EST (History)
3 users (show)

See Also:
sven.efftinge: juno+


Attachments
proposed patch (18.49 KB, patch)
2012-01-26 16:38 EST, Michael Clay CLA
no flags Details | Diff

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