BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Eclipse Orion 2.0 Now Runs Locally on Node.js

Eclipse Orion 2.0 Now Runs Locally on Node.js

Leia em Português

This item in japanese

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.

Rate this Article

Adoption
Style

BT