Nodeclipse / nodeclipse

Nodeclipse-1 : Eclipse plugin for Node.js, PhantomJS development (Nodeclipse core plugin); Maven and Gradle (with Android) plugins
https://nodeclipse.github.io/
158 stars 78 forks source link

support for node.js style module definitions #50

Open paulvi opened 11 years ago

paulvi commented 11 years ago

Support for node.js style module definitions, mention by Patrick Piper

Q: If i'm writing a source file that requires 'dns' or 'native-dns' npm module - Should I expect to see code assist/proposals of methods, properties, etc? I don't seem to get any node-related proposals, just basic Javascript proposals only. Is there anything one needs to do to enable that or get it working?

Also on SO http://stackoverflow.com/questions/17059917/code-completion-do-not-work-in-nodeclipse

keith-miller commented 10 years ago

So is there any plan to support the following?

var express = require('express');
var app = express();

app. // Code Assist content

That would be great. Thanks!

paulvi commented 10 years ago

Of course, there are.

paulvi commented 10 years ago

There is work on this in Aptana https://github.com/aptana/studio3/pull/201

@tomotaro1065 Now I wonder how much much would it make to have JSDT and Aptana as 2 fully optional features.