
Three Steps to Awesome JavaScript in Eclipse
Ever wished Eclipse support for JavaScript compared to Eclipse support for Java? Well, now it does!
There are three simple steps you can take to improve coding JavaScript in Eclipse.
Step 1: Install CodeMix
CodeMix has revolutionized web development in Eclipse. From exceptional tooling for web development using JavaScript, HTML and CSS, to advanced tooling for the latest in web languages and frameworks like Vue, React and Angular, CodeMix is a must have for today’s Eclipse developer. Give CodeMix a try and see why it’s a top Eclipse Marketplace download. Learn more
CodeMix includes a 45 day free trial and then it’s just $29/year.
With the productivity you gain, CodeMix pays for itself!
Step 2: Code JavaScript with ease
Now that you’ve installed CodeMix, you’re ready to start coding! Support for the latest JavaScript technology, including imports, classes and ES6, is leaps and bounds above JavaScript in Eclipse via JSDT. CodeMix provides an unparalleled JavaScript development experience in Eclipse, with little to no configuration required. Learn more
IntelliSense—Accurate content assist, accompanied by documentation where available, is provided by a TypeScript based language service that uses type inference, JSDoc, or intelligently downloaded typings files to better understand your code.
- Validation—Besides obvious JavaScript syntax validation, type checking spots missing imports, incorrectly assigned variables or even missing fields. Quick fixes can automatically correct a number of these errors.
- Linting—Built-in ESLint support catches a number of problems you’d typically only hit at runtime, often with the option to correct using quick fixes.
- Formatting—CodeMix defaults to the Beautify extension for advanced JavaScript formatting. Beautify is able to parse and correctly format modern JavaScript, while the Eclipse formatter is lacking, often unable to format code due to parsing issues.
- JSON support—Eclipse validates and formats JSON, but CodeMix goes the extra mile by supporting JSON schemas, providing content assist and documentation when editing common JSON files (you can even specify schemas for custom formats). Easily navigate large files with the quick outline, and use snippets with custom completion proposals to reduce typing. The package.json support is next-level: content assist provides Node modules names, descriptions, and their latest versions.
CodeMix not only helps you write awesome code, it also helps ensure your code is working as expected. From debugging small bits of JavaScript in an old-school website to a full-blown Node backend, the JavaScript debugger in CodeMix has you covered. It’s source map aware and sports a handy debug console so you can inspect and change values at runtime. For some frameworks, you can even view changes without having to restart your app, or debug session. Learn more
Another big help is Live Preview, which lets you preview your application right next to the code editor. See changes in real time, as you type, and if your project configuration allows it, without even needing to save the file. Learn more
