Join the DZone community and get the full member experience.Join For Free
We’re going to be using BlurAdmin, an AngularJS-based application, and the Node-based Express framework. If you wonder why we’re choosing an AngularJS application in today’s world of Angular 2+, Vue, and React, it’s because Spring Tool Suite (STS) and Red Hat Developer Studio (RHDS) don’t support these frameworks out of the box. In fact, outside of CodeMix, these frameworks aren’t well supported in Eclipse.
- OS: Windows 10 Pro 64-bit
- Processor: Intel i7-6700 @ 3.4GHz
- RAM: 32GB
- Storage: Samsung 850 EVO SSD
- Versions tested: STS 4.1.2, Red Hat Dev Studio 12.9.0 GA, CodeMix 3
- Import times were measured after restarting the machine for each IDE, so OS / file-system caching would not skew results
So, let’s talk about these results — import typically takes a long time, because as soon as you import a project, a validation cycle runs, validating all the JS files in your project, even those in your
When we come to content assist, the Tern integration in RHDS frequently synchronizes source with the Tern server. You get a very limited set of results immediately, just like STS, but if the synchronization is successfully completed, it gives you somewhat better results. Synchronization takes time even when the
While RHDS can take a while to provide suggestions (see chart above), it eventually gets there. CodeMix provides suggestions instantly, in most cases, and has the added benefit of providing parameter hints as well.
Navigation and Peek
Being able to navigate around a large code base, or even back to the function you were just working on, is an often underrated ability. Sometimes, you don’t need to actually navigate to that point, just peeking at the code for a bit is good enough. With CodeMix, press Ctrl and hover to either navigate or just peek. Hyperlink navigation does exist outside of CodeMix, but results vary based on the quality of the created model — peek, on the other hand is MIA.
Validation and Build Pipelines
CodeMix takes an intelligent approach to validation; by default, it validates only the file being currently edited. If you want it to validate the entire project, you can change the settings to achieve that. Now, the pièce de résistance is our build pipeline support, with which you can utilize external tools for building and validation and see the results directly in your editor. By using the same tools you would normally use to build your application for deployment to production, you are guaranteed to have an experience that is consistent between your dev and production environments.
Opinions expressed by DZone contributors are their own.