Skip to content
Jeeeyul Lee edited this page Mar 31, 2014 · 7 revisions

Runtime Project

In traditional way, To extend your IDE(Eclipse) you have to install plugins and restart.

In Eclipse.JS, Just paste some codes into runtime project(It's name is ".eclipse.js" by default) to use new capabilities. And you can share this project with your team member through your favorite team connector(SVN/Git) to update IDEs with latest features. No distribution, No Build, No installation. Just let your team update project with team connector.

Layout

├── extensions (contains extensions)
│   └── views (contains view extensions)
│       └── google (example view module)
│           └── index.js
├── modules (contains global modules)
│   └── merong.js
└── user
    ├── merong
    │   └── index.js
    ├── person-dialog.js
    └── view.js (contains user scripts that displayed on "Eclipse.JS Query View")

require

It's just same thing that you imagine.

var test1 = require("test");   // inject global module
var test2 = require("./test"); // inject relative module

test2.hell("world");

test.js:

exports.hello = function(whom){
    console.log("Hello " + whom);
}

Clone this wiki locally