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

Bug 381475

Summary: Esprima Outline View plugin not working
Product: [ECD] Orion Reporter: Ken Walker <ken_walker>
Component: ClientAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: aclement, mamacdon
Version: 0.4   
Target Milestone: 0.5 RC1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Ken Walker CLA 2012-06-02 18:57:56 EDT
I used the "Get Plugins" link and installed the Esprima Outline view.  It successfully installed and shows up in my plugin list but if I edit a JavaScript file I'm not offered multiple outline choices.
Comment 1 Mark Macdonald CLA 2012-06-07 10:07:27 EDT
The plugin is using an old content type identifier:
> 'text.javascript'

It should be 
> 'application/javascript'

I submitted a pull request
https://github.com/aclement/esprima-outline/pull/1
Comment 2 Mark Macdonald CLA 2012-06-07 10:34:43 EDT
Other 0.5 plugins that appear on the page are working OK. 

I noticed that nonymous is still using the old 'pattern: *.js' syntax, which is not recommended, but will still work for the time being, until bug 376911 is fixed.
Comment 3 Andrew Clement CLA 2012-06-07 12:15:11 EDT
pull request merged into master, thanks! I guess this can now be marked fixed.
Comment 4 Mark Macdonald CLA 2012-06-08 13:42:58 EDT
Great, thanks Andrew.