At least 50% off from FlexSub
As Visual Studio Code grew in popularity, I began to use it for my subsequent web projects. It appealed to me since it was more faster, more adaptable, and free, allowing me to use it for my personal projects.
In my current job, I met a developer who was perplexed that I was developing huge commercial applications using an editor rather than an IDE. First, I didn't pay attention to his concerns, but I now see his point of view.
In this blog article, I'll explain why I now prefer WebStorm to VS Code for web development.
This is a really hot topic, and I'm sure it will spark considerable debate. In the following essay, I discuss my experience using WebStorm in a big Angular application that was primarily written in Visual Studio Code.
WebStorm provides a robust, fast, and flexible static code analysis. This analysis detects language and runtime errors, suggests corrections and improvements. It also indexes your whole project and can, for example, detect all unused methods, variables and more.
Source Control / Git Integration
WebStorm provides all the functionality for complex git work out of the box. You can commit files, review changes, and resolve conflicts with a visual diff/merge tool right in the IDE.
Although VS Code does not save a local history of your modifications, you can utilise extensions such as Local History to do so.
WebStorm automatically tracks all modifications you make to your files, preventing you from losing them inadvertently. You can examine the history of files and folders as well as perform rollbacks. This can be beneficial if you, for example, accidentally performed a git push force and overwrote your files on the remote branch.
On Chrome, VS Code can only debug web applications by using the Debugger For Chrome extension, which you must then configure for your application.
When you use WebStorm, you already have everything available by default, and for Angular, for example, you just need to choose "Debug Application" and you can set breakpoints in the editor and watch variables, among other things.
WebStorm is written in Java, and it feels slower in general than VS Code. I wouldn't say it's noticeably slower, but the change is evident.
Although VS Code offers a faster startup time, if you are working on a project, your IDE or editor is always open, therefore starting time is unimportant.
VS Code is open source and free to use.
You need to pay for a WebStorm license unless you choose one of the free licenses available for open source projects, students, teachers, classroom assistance or training courses, coding schools and boot camps.
Another option is to use the EAP (Early Access Program). These pre-release versions include features which will be added to the next release. These versions are temporarily available before a new version of the software will be released.
This is the official disclaimer for the EAP:
This is an early access version of the product. You expressly acknowledge that this version of the product may not be reliable, may not work as intended and may contain errors. Any use of the EAP product is at your own risk.
VS Code is more of an editor than an IDE like WebStorm is categorized as. WebStorm has in its standard installation more features than VS Code has in its default installation without any additionally installed extensions.
Microsoft has created an amazing product with VS Code which you can of course use for larger business applications. Generally, I would prefer and recommend using WebStorm due to these reasons:
- Better code analysis functionalities
- All-in-one IDE with good basic functionality without the need to install many additional plugins
- Much better code refactoring possibilities
If you prioritize speed, prefer using open source software or just want to quickly edit some configuration files then you should go for VS Code.
What are your experiences using VS Code and WebStorm? Let me know in the comments what you use to develop your application!
At least 50% off from FlexSub
Better, flexible and cheaper subscriptions for a wide range of services in just a click of a button.Get started now