Vortex JavaScript Editor for the Eclipse IDE
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
src/vortexeditor
.gitignore
MIT-LICENSE
README.md
build.properties
plugin.xml

README.md

Vortex JavaScript Editor

JavaScript livecoding editor for the Eclipse IDE.

Licensed under the MIT License.

##About

The Vortex JavaScript Editor is a Eclipse editor plugin that holds a WebSocket connection to your browser and evalutates changed code on key press. This shortens the feedback loop and can speed up some JavaScript tasks.

The editor is build ontop of the JavaScript editor from the Eclipse Web Tools Platform. The WTP JavaScript Editor is a full blown JavaScript editor were the Vortex editor only hooks into its document change event. The WTP JavaScript Editor is not included in the Vortex project and has to be pre-installed.

The communication with the browser is done via Jetty featured WebSockets. The required Jetty libraries from version 8.1.7 are included into the project.

Inside the browser the Vortex JavaScript Connector acts as WebSocket client and receives changed documents which then can be evalutated.

Livecoding is a complex topic and this editor is only an experiment for now.

Installation

Requirements:

  • Eclipse Juno installation
  • Eclipse plugin "JavaScript Development Tools" (For me working with version 1.4.1)

Download the plugin JAR from here and place it into the plugin folder of your Eclipse installation.

Usage

Once the plugin is installed successfully the entry "Vortex JavaScript Editor" should appear under the list of editors associated with the "js" file extension. Just open a JavaScript file and the server will be started.

To connect with the browser you have to run the Vortex JavaScript Connector inside the browser.

I created a screencast that shows the editor in action.

Documentation

There is an inline code documentation.

Build

The Editor is a Eclipse plugin that can be edited and build with the Eclipse PDE (Plugin Development Environment).