BT

Eclipse Orion 2.0 Now Runs Locally on Node.js

by Abel Avram on Mar 04, 2013 |

Eclipse Orion 2.0 has been recently released with support for Node.js, Projects, more and improved Shell commands, better JavaScript code assist and performance improvements.

As initially planned the Orion team has released the second stable version of the web-based JavaScript IDE four months after the initial one. Some of the new features included are:

Orionode. The server counterpart of the IDE has been reimplemented in Node.js for local usage. Developers can now have a server with a very small footprint on their machine for local editing of files.

Orionode is not yet on par with the initial server written in Java, supporting the following features so far: basic navigator, editor and plug-in operations, shell commands for supporting npm and running Node applications, client caching of static content, and gzip. Orionode is not replacing the Java server, targeting only local installations.

Projects. The Project plug-in enables developers to create units of work comprising various resources linked to external sources and targets. The purpose is to increase modularity for better resource management for larger projects. Currently, Orion supports HTML5 and SFTP projects. The later can be used to remotely view and edit resources of an SFTP server.

Shell. A number of commands have been added to the Shell: plugins for dealing with plugins, service for listing available instances of a service, and clear for clearing the screen.

The Shell commands can now pass/return 2 new parameter/return types: blob – a JS object representing binary data-, and file – a file or a folder belonging to the workspace. If the output type of a command is file then the result is dumped into a file. Multiple files including directories and their entire content can be passed as parameters to commands.

Content assist. The JavaScript content assist has been improved adding several cases: type inferring for array values and associative arrays, inferring variables before declaring them, and inferring object properties based on usage.

There are also other smaller enhancements and performance improvements. Loading Orion with a JavaScript page for editing needs 45% fewer requests and 80% less bytes transferred.

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT