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

Bug 525573

Summary: Provide pluggable 'references' command
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: ClientAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 15.0   
Target Milestone: 17.0   
Hardware: PC   
OS: Mac OS X   
See Also: https://github.com/eclipse/orion.client/pull/283
Whiteboard:
Bug Depends on:    
Bug Blocks: 527206    

Description Michael Rennie CLA 2017-10-04 10:51:41 EDT
While fixing bug 522546 I had the thought that we should provide a platform references command that a plugin could contribute to, that would be invoked based on the content type of the file it was invoked in - that way selecting a CSS class in HTML would "do the right thing (from bug 522546) and invoke the HTML references support (if there was one).

Something like:
1. the platform would declare the 'References' command
2. plugins could contribute a "reference finder" via the "orion.client.references" extension point
3. plugins would have their ref implementation called when the command is invoked in a file with a content type they (the plugin) care about.
Comment 1 Eclipse Genie CLA 2017-12-01 15:00:45 EST
GitHub Pull Request 283 created by [mrennie]
https://github.com/eclipse/orion.client/pull/283
Comment 2 Michael Rennie CLA 2017-12-04 09:53:01 EST
The PR creates the pluggable / retragettable command and updates the JS tools to use it.
Comment 3 Michael Rennie CLA 2017-12-05 10:39:58 EST
Merged.