node.js in Eclipse - which plugin(s) are most people using? - eclipse

I'm mostly interested in server-side web development, though being able to redeploy some bits in Chrome would be nice.
I am currently running Eclipse Indigo on Ubuntu for developing mostly Java/Scala programs and to use git.
So far I've come across http://code.google.com/p/chromedevtools/ and https://www.ebayopensource.org/index.php/VJET/HomePage, but not sure which is preferable.

There is Nodeclipse.org effort. Current version is 0.16
update site is
http://www.nodeclipse.org/updates/
When you want to help in any way, start by raising issue
Features Creating default structure for New Node
Project and New Node Source File Generating Express project
with Wizard JavaScript Syntax highlighting Bracket
matching and marking selection occurences with background color
Content Assistant within one file Go to definition with
Ctrl+click when JSDoc is
used Refactoring within one file
(Alt+Shift+R) JSON files highlight and
validation NPM support Debugging - Breakpoint,
Trace, Variables, Expressions, etc... via Eclipse debugger plugin for
V8 Setting project properties for JSHint-Eclipse
automatically; JSHint
settings template
Passing arguments to Node application and Node.js,
specifying environment variables values to use Running
CoffeeScript *.coffee files Running *.js files with
PhantomJS, MongoDB Shell or Java 8 Nashorn jjs util
Bundled together with Markdown Editor, GitHub Flavored Markdown,
StartExplorer (for system explorer and shell), RegEx, Icon Editor,
MongoDB, RestClient Tool and other plugins (20+ in total, check
update site and Nodeclispe Plugin
List) Support for Eclipse Juno, Kepler, Luna M3
(source: nodeclipse.org)
Read http://www.nodeclipse.org/ for more & latest information.

What I have tried
VJET contains lot a bugs (in coloration, auto-competition ...). Could be better after a few updates. Node.js support is quite not up to date.
Eclipse Web Tools does no support node functions
NodeClipse http://www.nodeclipse.org/
Netbeans have a NodeJS plugin. Looks quite complete.
The chrome dev tools is just a debugger (and some chrome related utilities), not a fully usable IDE.
So far I would strongly not to use Eclipse for node.js project.
I'm using Sublime Text 2 for a while, and I'm very happy with it (And it has a node.js plugin).

I would recommend Aptana Studio (www.aptana.com/).
It's quite complete for javascript development besides it doesn't have node.js "direct support
It can be installed both as a standalone application or an Eclipse Plugin.
I've been using it for server and client development and works great for both.

Try Microsoft WebMatrix 2
It is free and has intellisense.

As of Eclipse Neon (May 2016), Supports for Node.js comes as part of the JSDT.
The only prereqs are the installation of Node.js and npm.

Related

Is there any eclipse plugin available for React JS

I am planning to use React JS with Rest API But after spending long time on google cant find the best way to start. There are no eclipse plugins available for react js. Please suggest how i can start working on React with eclipse or other open source editors.
i had the same issue and ended up to use the atom editor: https://atom.io/
Atom is based on google chrome, but you will not feel using google chrome, but a full featured editor with many cool plugins available.
I know, there is a nodeeclipse project http://www.nodeclipse.org/ but i was not able to install and run it out-of-the-box and it seems that jsx syntax for ES6 was not supported.
Now i really like atom editor, it is very easy to handle. Of course some shortcuts are different compared to eclipse, but anyway, i was really quickly able to produce code.
atom seems to be pretty lightweight and does not eat so much memory like eclipse. So there is no problem developing your reactjs app in atom and have eclipse as second editor running developing your rest app.
Kind regards
davey
Genuitec has an Eclipse plugin called CodeMix that provides wizards, navigation, content assist, validation, and debugging for ReactJS in Eclipse. You can details for all the features that CodeMix provides for for React development on the Genuitec website.
Angelo Zerr's TypeScript IDE includes a JSX editor and provides some support. Search for it in the Eclipse Marketplace Client or go to https://marketplace.eclipse.org/content/typescript-ide
I use vim. Plenty support on syntax highlighting on JSX, ES6. auto formatting, unit test running, etc. There are plenty of vim configurations you can find on github so you can get a quick start. An example of mine: https://github.com/ywen/vim-config-files
There is not a proper plugin for eclipse, you can use codemix but the code completion are not proper and it is quite slower but for as if now that is the best for eclipse. Use VS code that is the best .
You can not directly install codemix plugin from marketplace, by drag n drop or by marketplace. To install codemix please follow the below steps:
In ECLIPSE or STS

ANTLR and Eclipse (or any decent IDE)

I have been using ANTLR with Eclipse for some time using the ANTLRv3IDE plugin. While it is not perfect, and a bit outdated, it does its job reasonably well.
Now I am looking to switch to ANTLRv4 for another DSL that I am creating. However, Eclipse support seems to be extremely thin. I decided to try out ANTLRWorks, which is a NetBeans plugin, but I could not get it to install (it seems to be locked to specific dated versions (201302132200 while I have something newer, still 7.3 as docs say) of dependencies).
So, the question: Has anyone set up any Java IDE (preferably Eclipse, but I could be persuaded to switch if support is good for something else) to integrate with ANTLR? With integrate, I mean: code generate on save/keyboard shortcut and syntax coloring (at the very least). Code completion and other features are of course nice to have, but I could live without them for now.
I am well aware of Xtext and I have had great success using it for some projects, but unfortunately it does not fit the needs here (need no IDE support, need my own DSL model not based on ECore, etc).
I know ANTLRWorks can be run as a standalone application without a Java IDE, but that I consider to be a last-resort solution as it is extremely cumbersome to work this way (switch between application, files out of sync, no VCS support etc). I tried the other way around: to install the Java parts into ANTLRworks (which itself is a NetBeans distro), but it did not end well (it seems basic project support etc was stripped out of ANTLRworks).
Antlr4 plugin for Eclipse is here:
https://github.com/jknack/antlr4ide
ANTLRWorks 2 uses many non-public interfaces from NetBeans, which means it will always be bound to a particular version. The standalone download will always work because it bundles the dependencies itself.
The standalone build of ANTLRWorks 2.1 is available. This build includes support for ANTLR 4.1.
A new plugin build of ANTLRWorks 2.1 will be available once NetBeans 7.4 is released.
Moving forward, the code for ANTLRWorks post-2.1 is open-source under an LGPL license.
I think you have downloaded Netbeans 7.3.1.
Try download 7.3 from https://netbeans.org/downloads/7.3/ and install the ANTLRworks plugin there. (Link to the ANTLRworks Update Center: http://tunnelvisionlabs.com/downloads/nbupdates/nb73/aw2/updates.xml ).
Note that ANTLRworks v2 contains ANTLR v4.0, which is not the current version of ANTLR (4.1). So also download ANTLR v4.0 from the ANTLR download folder (The antlr-4.0-complete.jar file) and use it as library for compilation.
Now you can use nearly all things you wanted.
ANTLRv3IDE was opensourced. It should be compile-able for Juno. For stringtemplate (ST4) look at the Hastee plugin. It supports some of ST4 constructs.

Is there a simple XML editor w/ syntax highlighting?

I use Eclipse daily in a VERY limited scope, I would consider myself an Eclipse newbie.
Update: I'm looking for a plugin for eclipse, not an external application (e.g. Notepad++)
Eclipse Info:
Version: 3.5.0
Build id: I20090611-1540
Installed Plugins:
CollabNet Merge Client 1.10.0 com.collabnet.subversion.merge.feature.feature.group
Eclipse SDK 3.5.0.I20090611-1540 org.eclipse.sdk.ide
JSEclipse 1.5.5 com.interaktonline.jseclipse.feature.group
Mylyn Bridge: Eclipse IDE 3.2.1.v20090722-0200-e3x org.eclipse.mylyn.ide_feature.feature.group
Mylyn Bridge: Team Support 3.2.1.v20090722-0200-e3x org.eclipse.mylyn.team_feature.feature.group
Mylyn Connector: Bugzilla 3.2.1.v20090722-0200-e3x org.eclipse.mylyn.bugzilla_feature.feature.group
Mylyn Task List (Required) 3.2.1.v20090722-0200-e3x org.eclipse.mylyn_feature.feature.group
Mylyn Task-Focused Interface (Recommended) 3.2.1.v20090722-0200-e3x org.eclipse.mylyn.context_feature.feature.group
NetSuite SuiteScript IDE 1.0.2 com.netsuite.ide.feature.group
Subclipse (Required) 1.6.4 org.tigris.subversion.subclipse.feature.group
Subclipse Integration for Mylyn 3.x (Optional) 3.0.0 org.tigris.subversion.subclipse.mylyn.feature.group
Subversion Client Adapter (Required) 1.6.4 org.tigris.subversion.clientadapter.feature.feature.group
Subversion JavaHL Native Library Adapter (Required) 1.6.4 org.tigris.subversion.clientadapter.javahl.feature.feature.group
Subversion Revision Graph 1.0.7 org.tigris.subversion.subclipse.graph.feature.feature.group
SVNKit Client Adapter (Not required) 1.6.4 org.tigris.subversion.clientadapter.svnkit.feature.feature.group
I use eclipse for editing javascript files. I'm not a web developer, I develop custom applications for a popular web based ERP application and they're written in javascript. I use JSEclipse (I know it's old, but I still haven't found anything better, including Aptana) with Eclipse classic.
I do sometimes need to edit xml files and even less frequently the source of html files. Currently when I open these files in Eclipse they are displayed as just basic text. No syntax coloring and the Outline window has nothing to say about the doc. I've been googling for about 20 minutes and I'm having a hard time just finding a simple plug-in that I can use with my current installation that will provide syntax hilighting. I suspect there must be one out there, but my searches are missing it somehow...
I don't want to install a different version of Eclipse, I have 3 workstations configured with my environment and don't want to stir everything up. I tried installing the "Eclipse XML Editors and Tools" from the WebTools project but it failed out with several missing dependencies.
Here are the detailed error messages:
Cannot complete the install because one or more required items could not be found.
Software being installed: Eclipse XML Editors and Tools 3.2.4.v201103170600-7H7AFUaDxumQJOs8hggQZ6_jl1EOJGNlUsOsTM (org.eclipse.wst.xml_ui.feature.feature.group 3.2.4.v201103170600-7H7AFUaDxumQJOs8hggQZ6_jl1EOJGNlUsOsTM)
Missing requirement: Structured Source Editor 1.2.4.v201103231819 (org.eclipse.wst.sse.ui 1.2.4.v201103231819) requires 'bundle org.eclipse.jface.text [3.6.0,4.0.0)' but it could not be found
Cannot satisfy dependency:
I'm concerned about starting a "dependency chase" and before I know it I've installed a handful of things that will have who-knows-what impact on things.
Does anyone know if a simple, lightweight plugin that I can install from the "Help > Install New Software..." tool in Eclipse?
Have you consider this one?
http://editorxml.sourceforge.net/
Best Regards!
The XML editor from the WebTools project is the way to go. Since you didn't post the exact problem that you encountered when trying to install this plugin, I cannot help you further. I suggest that when you encounter a problem installing a certain plugin that you post the following information:
The exact details of what you have installed. Base version is a start, but you should also include which package you installed and general description of other plugins you installed into it.
The exact error message you got during plugin installation.
BTW: Eclipse 3.5.0 is very old. Version 3.6.2 is out already and 3.7.0 is going to be out in a few days. At the very least, you should run search for updates and move to version 3.5.2.
Update: Based on the provided error information, it looks like you are trying to install the version of XML editor that goes with Eclipse 3.6. Make sure that you install from the following repository and disable "check other repositories" option in the install dialog.
http://download.eclipse.org/releases/galileo/
If you accept editors outside of Eclipse (I had to read the whole story to see "plugin"...), I just use SciTE, and Notepad++ should do a similar job.
For real XML editing, I found Exchanger XML Editor to be quite efficient.
Shouldn't Eclipse be able to edit XML natively? It should colorize them if they are in a project, I think. I should try...
[EDIT] Indeed, it works. But I use Eclipse Helios for Java developers, perhaps it has some goodies from a base Eclipse.
In my configuration, it opens by default XML files in outline mode. Strangely, if I open them with a text editor, I have no syntax highlighting. I have that with the Ant editor, but then it will report errors (probably checking the DTD/schema).
Free, opensource. Works with 4.5. http://www.gstaff.org/colorEditor/
LiClipse (http://brainwy.github.io/liclipse) provides a lightweight XML editor that provides syntax highlighting just fine.
-- i.e.: it's target is exactly providing lightweight editors for a many languages in Eclipse (note that it's commercial)

Boostrapping new Eclipse machines with all the Plugins

Bootstrapping Eclipse on new machines is such a time consuming process, you wind up asking yourself whether you really need each plugin. But there all handy, and help develop consistent habits.
Eclipse bootstrapping problems include:
Explaining / documenting what needs to happen
The actual time pasting in the right URLs and downloading
Version compatibility and dependencies
Eclipse likes to restart after each one
The changeover to the Eclipse Marketplace means that some plugins and instructions you find on the web tend to be inconsistent, depending on when they were written.
The Licenses... over and over and over... yes, yes, yes... I understand that the person installing needs to be aware of it, and have a chance to review them, but there's got to be a better way.
It'd be nice to have "patch file" (either binary or meta) that spells out what I want to add on top of stock Eclipse installation. I'd really like to find (or create) a 1 or 2 step process that sets up Eclipse, plus a favorite batch of plugins:
subclipse
m2eclipse
jetty support like runjettyrun
android sdk and plugin (or at least just the plugin)
aspectj
Web Objects / WOLiops
python, other langs
JVM Monitor, maybe EclEmma
probably a git plugin pretty soon.
Does command line maven help with any of this? It seems like its repository management would fit at least part of the functionality.
On a machine with an Eclipse installation matching your needs use File -> Export -> Install -> Installed software items to file. Import the generated file using the same menu on all other machines.
As Scott says, a good approach is to simply package a fully prepared Eclipse installation once all the plugins you need are installed. The downside is that you have to update most plugins afterwards.
Another option is to use Yoxos. With it, you can create a profile and configure it with all the plugins you need (and apparently Yoxos can do more than that).
Finally, this page might interest you concerning the configuration side of things.
Solution 1 is too search for more advanced Eclipse distributions.
For example, STS (Spring Tool Suite) comes with
AspectJ
EGit
m2e
(and of course) Spring IDE
One small trick can be done with m2e-android - Android Configurator for M2E Maven Integration. If installing it on clean Eclipse, it will also automatically resolve to install :
m2e
Android Developer Tools (ADT)

what is the correct version of Eclipse for Coldfusion?

Usually when one wants to create a new file in the Eclipse IDE , Java, Javascript, Colsdfusion PHP etc are provided as the options for the new files.
I recently downloaded Eclipse for Coldfusion 8 and excecuted the file "software/dw/java/europa/J2EE-SDK-Europa-33-win32.zip" .
Now when I want to create a New File "only JAVA " option is available. There is no coldfusion or HTML!
So can any one provide me the Exact/correct link for Codfusion related Eclipse?
(On the Eclipse website there are many Eclipse related downloads but I am not sure which one is specific for Coldfusion.)
There's CFEclipse, a free, open-source Eclipse plug-in for working with CFML. And of course there's Adobe's ColdFusion Builder, a commercial product that works as either a plug-in for an existing Eclipse installation, or as a full stand-alone product (with Eclipse already baked in).
CFEclipse 1.3.6, the current stable version, works with Eclipse 3.4.x or 3.5.x. Here's the CFEclipse wiki.
The stated Eclipse versions required for ColdFusion Builder are 3.4.2 or 3.5. Here's Adobe's requirements page.
If you're using one of these as a plug-in and you don't need a lot of the other Eclipse features, the J2EE version of Eclipse is probably overkill (it's the biggest package). You can try out a more minimal Eclipse install, then update and add plug-ins as you need them. Try the Eclipse Platform Binary, for example.
There's also Adobe's ColdFusion Builder IDE specially created for this purpose. It proposes some features not available in CFEclipse, but not free (though there's a trial version available).
In addition to Ken's answer please note that you can already use preview builds of CFEclipse with latest Eclipse 3.6 Helios. I am using this configuration on daily basis and it is pretty stable and more efficient than previous version for me.
If you will expierience problems with preview builds, feel free to post them into the CFEclipse groups, developers usually react pretty quickly.
One more hint for you. Sometimes after installing the plugin via Add Sofware further updates do not work correcly. I've experienced this issue few times so it can be useful to know the solution.
To fix this check the Preferences > Install/Update > Available Software Sites. If needed entry missing -- create it manually using the same update URL as for installation.
Also there's an Eclipse-based version of Adobe CF manual available, see this help page for details.
Hope this helps.