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

Bug 397817

Summary: JSBeautify plugin does not work
Product: [ECD] Orion Reporter: Ken Walker <ken_walker>
Component: ClientAssignee: Susan McCourt <susan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: simon_kaegi
Version: 1.0   
Target Milestone: 2.0 M2   
Hardware: All   
OS: All   
Whiteboard:

Description Ken Walker CLA 2013-01-09 21:58:15 EST
If you try the JSBeautify plugin in the latest build it does nothing.  In the console you see:

TypeError: 'undefined' is not a function (evaluating 'd.getSelection()')

editorCommands.js:291
Comment 1 Susan McCourt CLA 2013-01-10 11:04:56 EST
my bad for at least part of it.  When I added "make favorite" to the editor toolbar, I saw that the item passed to the command was not right.  But other commands were relying on that behavior.  Fixed now in

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=db72beef8df66c2fe9ff1b6ac0322d796c9f523a

I see other editor actions working now with this fix, but something is still wrong with Format JS.
Comment 2 Simon Kaegi CLA 2013-02-07 10:49:11 EST
.