- It a little faster for Typescript (but no better TS features from what I can see).
- A lot of people are trying it because it's new, or because they like MS tools.
- It's free
On the other hand WebStorm still has more functionality overall, a few less rough edges, and a more standard UI (some people don't like how MS Code doesn't have a tabbed doc UI).
My personal calculus is that WebStorm is so cheap, I would not allow my primary tool to be even 1% worse to save money. Also I like those crazy guys - they have been pushing out features very fast for years now.
From my experience, I would just add that while WebStorm is indeed far more powerful in terms of features that it has, it:
- is actually slower even than VS Code for many operations (both of which are, when compared to a native editor like Sublime or TextMate 2, objectively slowww at basic operations like launching and opening windows)
- it comes with a shopsack full of shit enabled by default, that most people will need to scale back, adjust, or turn off before getting productive. E.g., on the Mac, all the text editing keyboard shortcuts are wrong, drag and drop doesn't work like any other app, some windows can only be docked or floating windows (wtf!) and can't be put in the background, and all sorts of spurious code-linting and annoying popup suggestions are enabled by default. It's the UI equivalent of somebody shouting all sorts of commands and suggestions at you, while when you first open VSCode its a fairly minimal rectangle of text that you can work with right away and gradually learn the advanced features when you are ready to.
So one answer to "why people use this instead of WebStorm" is probably that, especially on Mac, many people's first response to WebStorm is to groan "bleeeccch! yuck!" and close the window and drag the app to the trash.
(I did that a few times, too, but in the end the WebStorm the code completion and intelligent navigation was so much better than anything else that I decided to endure the UI atrocities and stick with it.)
That "full of shit", which is useful to some, I just go to plugins and uncheck them, once.
VS Code has had tabs for over half a year now, since the 1.3 release in June. Beforehand, the "active documents" acted more or less as nerfed tabs, but I agree the real tab support was desperately needed before 1.3.
> they have been pushing out features very fast for years now.
WebStorm gets major updates 2-3 times a year, VS Code gets major updates 12 times a year. I'm pretty sure you can't really call WebStorm "very fast" on that front given that metric.
I've never used WebStorm so I can't really comment on the other points, but you're also being very vague. What are some examples of more functionality and less rough edges?
When I had to work on a Java project, using IntelliJ was a dream. The same environment, but with sturdier refactoring. Plus it taught me Java idioms by whispering gentle suggestions while programming.
In Rails, when you rename your controller it renames your routes. It has a great debugger integrated that just works. It has support for your rake tasks, at par with the deep integration into all environments it support.
When they changed their subscription model to an yearly fee, I was happy to be giving more money from my limited paycheck to this company. It is the kind of software I'd write love letters to. I make tools for developers, and one day I want them to be of the calibre of JetBrains' products.
- FREE
- faster
- source is on github
- easy to write, fix plugins in javascript
- javascript intellisense is better
WebStorm is a good product but it doesn't really do anything that much better than vs.code that I would go back to it. Was a long time WebStorm user.Stuff like Atom, I dig a dozen plugins only to keep 3 or so in the end, because they're written by random people with random quality, which is not much of use.
Also because some of us don't like WebStorm. My experience with it has been very poor. I actually bought a license and invested time in trying to "like" it, but for my use case it was not quite there. E.g. I write a lot of Flow/TypeScript and it has always lagged behind or required me to use bleeding edge versions which were a) free anyway, so my license was unnecessary for that time span, and b) very buggy, which defeats the purpose. For vanilla JavaScript, it has the best autocompletion out there, but when you're using TypeScript or Flow there's just no advantage since practically any decent editor will give you the expected suggestions.
Boot up times are important for me because sometimes I'm in the terminal and I want to open a file, work with it, then quit (`cmd+q` or `:q`) when I'm done. WebStorm is not my friend in those cases. Vim is. Surprisingly VSCode is as well.
In WebStorm's defence, I believe the Vim plugin is one of the best out there (perhaps just second to Emacs evil mode). Other than that and its JavaScript IntelliSense... I can't really think of any other advantages. I hear some of my colleagues talk about git diffing / merge views, but to be honest I already have tools for that and I never do any git stuff in my editor unless it's Emacs + magit.
Refactoring JavaScript code might be neat with WebStorm as well but I haven't used it enough to have an opinion on it. I don't know how well it performs with TypeScript / Flow / Elm codebases but I'd be interested to see it in action, since those seem to be easier targets for refactoring than JavaScript.
So for me, VS Code is a lot faster, not just a little bit. Also command invocation is faster via F1 key.
Apart from that, VS Code just feel a bit more "modern", for example in the areas:
- git integration is more straightforward, or "just better".
- settings are also better organized, no more browsing various dialogs, everything is in one json file.
PHPStorm on Windows ships with 32-bit Java. You have to install 64-bit Java yourself and change your Windows shortcut to point to the 64-bit PHPStorm exe. It also has it own vmoptions file.
If you install Jetbrains Toolbox App you can tell that run 64-bit for you and also set java heap size.
My best guess for your downvotes is that your comment isn't only nonsense and inaccurate, but also pretty churlish.
Are you accusing me of secretly living in the Czech Republic while hanging out HN to astroturf for WebStorm?
Was there a mistake in the comment?
Or, I hate to even ask, is this some sort of childish fanboy thing?
I'm moving because I spend most of my time writing javascript and felt that no combination of emacs modes allowed me to keep up with a proper IDE. Emacs is a tool to learn once and use for a lifetime (and I will continue to use it for other editing tasks) but I found that I was increasingly having to learn outside tools in order to gain the benefit that IDEs could hand me for "free" (free like a puppy, retraining your fingers takes months).
Things I love:
- Intellisense is immediately superior to anything I've used in EMACS.
- Debugging from my editor. This was available in emacs for C, PHP & Java using GDB or similar but it never made it's way to javascript as far as I can tell.
- Goto definition.
- Good typescript and Flow integration
Things I miss:
- IDO Mode (FML I hate Finder for moving through directories)
- Creating files with just the keyboard (probably possible but I haven't figured it out yet).
- Kill ring
- Moving around the code with just a keyboard (ctrl-v and the sort).
- Non-intellisense completion. When your caret is at the end of a word, Command-\ in EMACS completes to another word from the same buffer that has the same prefix and continue to swap through words on subsequent presses. Very useful in a dynamic language.
There is a bunch of annoying bugs waiting to be fixed, e.g. the one about the imported types [1].
In the other hand, I don't blame the maintainers. The Flow team is a really small team and the VSCode extension is obviously not the priority. :)
If you guys see this message, thanks for the amazing work on Flow!
I actually like Flow slightly better but the community created type libs for TypeScript convinced me to go that direction.
For JS maybe. Irony with irony-clang is the best C++ autocomplete I've found. VSCode's C++ Intellisense is crap.
> Moving around the code with just a keyboard (ctrl-v and the sort).
That is something I have missed in pretty much every IDE I have ever used, except OpenWatcom's, which allows to use vi-keybindings. (Okay, so Eclipse supports Emacs-ish keybindings, too, but it felt really weird using those.)
I think, there is a plugin/package for VSCode that implements emacs-style keybindings, but I could not get it to work properly. :-(
For completion: Ctrl-space will force a completion at your current location.
The only environment that I've been in where it was critical was large Java projects. I would have been lost without being able to goto def though maven dependencies. Having to read XML to figure out where stuff is would have driven me insane.
Now I only hope they add in hot-disk support.
Sublime Text 3 checks to see if the currently opened version differs from the file system. If it does, it prompts the user to keep the current version or replace it with the disk version. VS Code just replaces the current version with the disk version and doesn't retain history so you can't undo this.
I lost about an hour of work yesterday because I had a file open in both VS Code and Sublime Text. Pressing save in Sublime Text wiped out all changes. :(
BTW, really awesome job VSCode team :) I love what you're doing!
(I use it to edit a very large JSON test fixture file)
[0]: https://github.com/vuejs/vue-class-component
EDIT: Just saw this on twitter: https://vuejs.org/v2/guide/typescript.html
From one member: "VSCode has a relatively small team compared to the size of the product" - https://github.com/Microsoft/vscode/issues/13138#issuecommen...
Before, everyone would've been stepping on each others' toes because only two out of ten people would always be rated top performers and two more would be forced onto "performance improvement plans" (aka "you're about to get fired").
And here's me writing code that creates csv files, that get copied from one server to another server (on another continent) - without anyone reading them.
See link for suggestions how to mitigate. I use the tip from the person named sysrpl. VSCode is unusable with that blue color for me.
Sean - VS Code Team Member
I have high hopes for a sublime-style "whole document" scroll bar in future releases.
Does that mean we don't need those extensions anymore?
- Path Intellisense: https://marketplace.visualstudio.com/items?itemName=christia...
- NPM Intellisense: https://marketplace.visualstudio.com/items?itemName=christia...
(I have not updated yet)
I work on the VSCode team on JS and TS support, so please let us know if you run into any problems with the new path intellisense feature or have ideas on how it could be improved.
Thanks
e.g. if I start typing './c', it suggests me every symbol in the current file starting with 'c'.
I would love to have only the paths available in the project (like the "Path Intellisense" extension does).
I will post my feedback on GitHub, in case you don't see this message. :)
Going by feature set alone (plugins included) it appears like a good choice, though I've yet to try it myself.
Sometimes, however, autocomplete doesn't work. (If the file is too big, or if you use macros, both of which are very common in rust.) I found the type info tooltips to not be super precise. There's no live error checking, or at least I couldn't get it to work. I also couldn't get auto formatting to work, but I didn't try much. (Since I can just do it from the command line, anyway)
I wish it had more documentation-related features.
Haven't really tried debugging yet, but should work fine. (I believe it uses GDB)
Racer (intelligent auto complete) has always been a bit flaky, but other than that it's been great.
There is an issue though that I find so annoying and I just hope they fix it.
I set up the external terminal to git bash on windows and sometimes when I'm deleting commands with the backspace it doesn't really delete the full word, hard to explain but as an example if I type "nani" and then press backspace "nani" stays but I know it has been deleted because it kinda flicks so I type "o" now I have in the terminal "nanio" and sure enough if I now type the name of the file it edits it.
Hope this makes sense, I put up with it because I'm really enjoying the product and the speed of development.
Big congratulations to the team.
You guys are fantastic
Though I've been trying vim again, maybe I'll finally jump into it.. I mean I jumped into Arch linux + i3wm(tiled window manager), moving into the console for everything seems next logical transition toward becoming part computer.
I was interested in using it but noticed the last commit for Monaco was in October.
Never used it on sublime text. Genuinely curious.
I'd use method listing which is visually more distinguishable.
https://marketplace.visualstudio.com/items?itemName=donjayam...
My plan is to become a front-end developer. I am learning Javascript now, then go back a little and learn more deeply CSS, then make some projects with NodeJS and on and on.
I use Notepad++ today and it looks good enough for me. So I wanted to ask more experienced developers: a more powerful tool at this early stage of the learning curve help or confuse?
I'd think that it would work better for you though.
Maybe there's some config I'm unaware of, since VSCode's site does mention "words" as a type of completion, but I've never seen it work for js files.
The vim extension (https://marketplace.visualstudio.com/items?itemName=vscodevi...) also supports vim macros
Especially with await / yield-promise type stuff, I could imagine this will make debugging much nicer.
[0] https://code.visualstudio.com/updates/v1_8#_just-my-code-nod...
So happy.
Also, I did not know how much I needed Zen mode in my life.
JavaScript Intellisense in HTML
This is awesome - I was just this week looking at using Vuejs for a new project instead of React, but the lack of Intellisense in "Single File Components" with VSCode was a deal breaker for me, better to stay with JSX. I've used all kinds of things before the associated tooling is really up to par, and it's one of those things I often regret later. At least it's still not too late to revisit the decision!I can then properly refactor my code. I can 'go to definition' and it actually works! Also the editor automatically telling me a 'variable is unused' being switched on by default without some plugin? This should be standard.
Having been a C++ and Java dev before this Node gig, these things were essential for me.
This and the fact that it has lots of tools built in persuaded me to make the switch.
I still keep an eye on the VS Code releases hoping one day I can hop back.
Over 1500 people, monthly, contribute to the project!
I might have to make a few actions to do it, and I'm too busy being productive with the go toolchain tools so nicely integrated with the extension.
I worry that it will eventually be a bloated IDE.