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

Bug 372294

Summary: [codemirror] Don't store stuff in the plugin's URL fragment
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.4   
Target Milestone: 0.5 M1   
Hardware: PC   
OS: All   
Whiteboard:

Description Mark Macdonald CLA 2012-02-22 17:08:09 EST
The codemirror plugin [1] stores a list of the modes you want it to associate itself with in the fragment part of its URL. For example:
 #clike+css+htmlmixed+javascript+perl+php+ruby+xml

Originally I thought this was clever, but it complicates install & uninstall, and offers no real benefit (why wouldn't you want everything?). Any need for plugin customization should be done through plugin metadata whenever Orion offers such API.

[1] http://mamacdon.github.com/orion-codemirror/codeMirrorPlugin.html
Comment 1 Mark Macdonald CLA 2012-03-02 12:56:55 EST
All modes are now installed by default. The fragment abuse is gone.

https://github.com/mamacdon/orion-codemirror/commit/e2acb10d404c8ef36c23e0d69a050f97af7e5fc5