Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Orion/How Tos/Installing A Plugin"

< Orion‎ | How Tos
(Category)
(Categories, try #2)
Line 17: Line 17:
 
*If you have ideas for actions but need more or different API to implement it, please [https://bugs.eclipse.org/bugs/enter_bug.cgi?product=e4&component=Orion file a bug]. <br> &nbsp; [[Image:Orion-plugin-action.png]]<br>
 
*If you have ideas for actions but need more or different API to implement it, please [https://bugs.eclipse.org/bugs/enter_bug.cgi?product=e4&component=Orion file a bug]. <br> &nbsp; [[Image:Orion-plugin-action.png]]<br>
  
[[Category:Orion|How Tos]]
+
[[Category:Orion]]
 +
[[Category:Orion/How To]]

Revision as of 11:57, 2 February 2011

This page explains how an end-user can install third-party functionality so that it is available to the Orion editor.

Install using Registry Page

  • If your server runs on orion.eclipse.org, go to http://orion.eclipse.org/view-registry.html.
  • If your server runs on localhost, go to http://localhost:8080/view-registry.html.
  • This page shows all installed plugins. JSLint may show up, this is a plug-in that the Orion code installs for you when opening the editor.
  • Enter a plugin URL into the text field in the upper right corner. For example, enter http://bokowski.github.com/format-js.html to install JavaScript code formatting functionality. Click "Install".
  • The tree on the left should update, and should now contain the new plugin.
  • The plugins are currently installed using local storage, which means that they are only active in one browser. If you would like to remove the installed plugins, click on the red X.
      Orion-install-plugin.png

Use installed functionality

  • Installed plugins currently show up as actions in the editor toolbar.
  • Click on the toolbar item to invoke the action. Some actions may have defined a key binding (which we don't display in the UI yet).
  • Actions have access to the selected text in the editor, the complete editor buffer, and the current selection. As a result of invoking an action, the action can replace the current selection with a new text, change the complete editor buffer, and/or change the selection.
  • If you have ideas for actions but need more or different API to implement it, please file a bug.
      Orion-plugin-action.png

Back to the top