1 / 11

Orion 'Code Edit': A Really Sweet Stand-Alone Code Editor

Eric Moffatt Orion Committer IDS Web IDE (Tooling). Orion 'Code Edit': A Really Sweet Stand-Alone Code Editor. Orion has had an 'Editor' widget from the early days: Just editing support (color coding and basic parsing for warnings / errors) NO Plugins !

whiteside
Download Presentation

Orion 'Code Edit': A Really Sweet Stand-Alone Code Editor

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Eric Moffatt Orion Committer IDS Web IDE (Tooling) Orion 'Code Edit': A Really Sweet Stand-Alone Code Editor

  2. Orion has had an 'Editor' widget from the early days: Just editing support (color coding and basic parsing for warnings / errors) NO Plugins ! As clients saw the tooling capabilities get better they wanted them ! Code Edit was born of the need to provide a more capable embedded editor Working with various clients helped to polish Code Edit's customization abilities The Evolution of Code Edit

  3. What is Code Edit ? • A 'widget' that clients can host on their server and then use on their pages to access the editing capabilities of Orion • Highly Customizable • Install any existing plugin or make your own • Add / override existing services (FileSystem...) • Access to the 'guts' of the editor view allows access to low level API (setSelection, setText, ...)

  4. What does Code Edit Provide 'out of the box' ? • Size matters, we can't just wrap everything • Basic editing (the original embedded editor) • Tooling for JavaScript, CSS & HTML • A large number of supported content types /w syntax highlighting... • Access to the 'editorViewer' API • Service Registry API • Low level Editor API • Input Manager API

  5. How do we produce it ? Orion Plugins ... Orion Core Git ... JS CSS / HTML Pages Orion Editor Page Git Orion Editor Sites Banner Navigator Settings Search Pane ... Menu / TB Code Edit JS Orion Editor Orion Core Stubs (FS, ...) CSS / HTML

  6. Show Time !

  7. Customizations • File System • Comes with a dev/null version (i.e. save doesn't) • We do have an HTML5 FS available • Add existing Orion plugins • Add your own plugins / extensions

  8. Connecting to Your Environment • Code Edit doesn't know about files but you can implement your own FileSystem or use our HTML5 version • If you are using Code Edit as a 'snippet' editor then you can simply add a 'Save' button to you page that uses the editorView API to retrieve the text from the widget and store it where you want

  9. Since we want folks to adopt Code Edit for their own pages we have a wiki page dedicated to getting you started: https://wiki.eclipse.org/Orion/How_Tos/Code_Edit Questions ?

More Related