AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Jetbrains phpstorm install npm8/31/2023 Testing integration is the last big win for WebStorm. This makes navigating through code exponentially faster, and it really reduces the strain of context switching between files. While Emacs can find symbols and definitions in a single file via Tern, WebStorm can actually inspect your whole project and find a definition, or at least give you a very pruned list of candidates to choose from. Symbol and definition lookup is another great feature of WebStorm. Even if it did, it would likely still be crippled by the very slow performance of the default debugger. Emacs has some built-in editor support for debugger integration, but it does not work with the default Node.js debugger. I would go as far as to say the debugger alone makes WebStorm worth having for non-trivial JavaScript development. The default Node.js debugger is terrible and slow, and WebStorm is the only replacement I’ve found that is worth using. One of the key features in this category is debugging. Critically, all of the most annoying ones are things WebStorm can do, which makes it very appealing. While Emacs is great, there are a few things it is just plain worse at or can’t do at all. Things WebStorm is Better At / Emacs Can’t Do Emacs, on the other hand, can be configured to use Tern, which is an open source JavaScript code analyzer that different editors can hook into. WebStorm does this through its own proprietary engine, which, among other things, parses JSDoc annotations and TypeScript descriptor files. Lastly, both tools have good support for intelligent auto-completion. Both of these engines can find issues like functions that don’t return a value, and they can perform trivial refactors like extracting variables. Emacs has js2-mode, and WebStorm has its own proprietary JavaScript analysis engine. Either one can hook into these tools and provide real-time linting and error checking.Īdditionally, both tools can provide some deeper analysis of JavaScript code. For one, they both do a great job of hooking into external code quality tools like ESLint. There are a few critical features where both Emacs and WebStorm work just fine. After using both tools for JavaScript development for quite a while, I have a good idea of the pros and cons of both Emacs and WebStorm for Node.js development. I decided to give WebStorm a try and see if it solved any of the pain I had been feeling. Since I had been using IntelliJ and some other JetBrains products, I was aware of WebStorm, their IDE geared towards JavaScript development. I also recently ended a large Java project where I had been using IntelliJ as my editor, since it was much more advanced than anything Emacs could offer. Lately though, I’ve been doing a lot of Node development and feeling some pain from using my favorite tool. Emacs is my first and last editor, and I’ll happily spend hours making it just the way I want it. If you’ve ever worked with me, or read my blog posts, you know I am an Emacs junkie.
0 Comments
Read More
Leave a Reply. |