Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Nodeclipse + TernIDE distribution #166
Cool! It's a great news for Tern IDE.
For your information, JBoss has integrated Tern IDE and Liferay IDE is integrating.
I think Tern IDE starts to be mature. node tern plugin which is an official tern plugin work's well, but I think we should add some other tern plugin like express. I would like to improve again the tern-lint to validate existing of require module (ex : require('XXXX') will display an error for XXXX)
I am already using Tern with angularjs eclipse plugin in Nodeclipse projects and this is a nice feature: once the project was "converted" to angularjs every html files within the Nodeclipse project are "ternalized" to angularjs. Next question: and what about the other files in the project ?
I think — he would probably disagree — Angelo bundled Tern as an Eclipse IDE as this neat feature was needing to be exposed someway. But is it really an IDE? I mean: without a project type and a perspective? Hardly to me but I won't argue more here: we already had this discussion...
It would make a lot of sense to inject Tern into a fully implemented IDE and Nodeclipse is certainly the best candidate for this — but this would be a lot of work as the existing "convert project" implementation is possibly acceptable for a Tern IDE but would it still make sense for Nodeclipse IDE?
What would be VERY nice would be a Tern generalization within Nodeclipse projects and express is certainly a serious candidate for this but not the only one: the entire MEAN stack would be a better target I believe.
On a larger scale, Nodeclipse IDE could then provide a MEAN project type we could select to create a new project template ready to run as it does for node/express already — all files being Ternalized by their type and API.
Is it making sense or should I grab another cup of coffee?
I think you have had enough coffee for today.
TernIDE (is tern.java used within Eclipse, @angelozerr right?) is maturing quickly.
I expect for some questions about code assist as JSDT, Nodeclipse and TernIDE all provide entries,
In this issue about actual distribution.
Then there will be new entry on Marketplace.
Possibly talk about name angelozerr/angularjs-eclipse#36
Ok let's me clarify what is tern.java. tern.java gives you the capability to use tern.js in Java context.
There is :
Tern IDE means that it's tern.java with Eclipse IDE. For perspective, views etc, today there is nothing about that, but in the future I think we could have that.
@paulvi has already integrate tern inside Nodeclipse with a simple mean (generate .tern-project with node tern plugin and add tern nature). It exists other solutions like ternNatureAdapter or directly with Java API. So with that, when user will create a new Node.js project, and if it install Tern IDE, he will benefit with node completion, hover, hyperlink, validation https://github.com/angelozerr/tern.java/wiki/Tern-&-Node.js-support
https://github.com/angelozerr/tern.java/wiki/Tern-IDE-Extension#ternnatureadapters extension point gives you the capability to select well tern modules according the nature of your project. So if one day a tern-express exists, we could add it if project has express nature.
I think if Nodeclipse decided to integrate Tern IDE, it could be become the tools to use to develop tern plugin with the debug mode. See https://github.com/angelozerr/tern.java/wiki/Debugging-tern.js-with-Nodeclipse
So you need a tern plugin per framework :
If you integrate Tern IDE inside Nodeclipse you will benefit with tern module https://github.com/angelozerr/tern.java/wiki/Getting-Started#tern-modules Those selection modules can be doen at hand or done with Jav aAPI, extension point like I have explained you.
Nodeclipse + TernIDE distribution solved as