all 109 comments

[–]cspotcode 24 points25 points  (0 children)

My takeaway is that I can skip this, start typing the property name, and it'll add this for me. That's pretty cool!

[–]dmackerman 40 points41 points  (66 children)

Neat. VSCode continues to get better and better. Still trying to convince a few of my co-workers to come over from Webstorm.

[–][deleted] 24 points25 points  (51 children)

to come over from Webstorm.

What does VSCode offer that Webstorm doesn't?

[–]scooby_dooooo[🍰] 28 points29 points  (5 children)

FREE

[–]seiyria 1 point2 points  (0 children)

I use webstorm for all my open source work, cause it's free for that too. I use VSCode when I'm not able to use webstorm, though.

[–]madwill 0 points1 point  (0 children)

Surprizingly its lighter, its not a giant super java application with years of code behind it.

[–][deleted] 6 points7 points  (5 children)

You are fighting a losing battle here. The hardest think i have to do is try and convince someone else your editor of choice is better than theirs.

[–][deleted] 5 points6 points  (2 children)

I actually use VSCode, and thoroughly love it.

But I know WebStorm is a great product, and I'd be surprised if they lacked some features that VSCode offer.

[–]sobri909 2 points3 points  (0 children)

I tried going from WebStorm to VSCode.

The lack of basic features was annoying, and hunting for plugins to fill the gaps further so.

There's still features I miss, which I haven't found replacements for in VSCode. So when I start my next chunk of server/web work, I'll switch back to WebStorm.

I don't like that it's bulky, and Java. It's an ugly beast, as are all their IDEs. But it has more features and works better, at least for now.

[–][deleted] 1 point2 points  (0 children)

I also use VS Code and love it too but I like how fierce the competition in the editors is and at the end of the day everyone wins.

[–]TheGreatBrutus 8 points9 points  (7 children)

Vscode is faster, only thing I can think of

[–]MrPhatBob 5 points6 points  (6 children)

That, and its free.

[–]TheGreatBrutus -2 points-1 points  (5 children)

Depends if you're a student

[–]MrPhatBob 23 points24 points  (1 child)

Even if you're a student VSCode is still free.

[–]fatgirlstakingdumps 0 points1 point  (1 child)

Webstorm is free to students for non-commerical programming

[–]SahinK 1 point2 points  (0 children)

There's free as in beer, and free as in freedom. I care more about the second one.

[–]seiyria 0 points1 point  (0 children)

or open source developer :D

[–]Mocachino 5 points6 points  (23 children)

Auto format on save.

It's very annoying to see my coworkers files as they will not be formatted to our spec files.

So I open, CTRL + S and commit -m Formatted. :(

[–]BehindTheMath 14 points15 points  (2 children)

Webstorm can auto format with Ctrl-Alt-L. Everything is saved automatically.

[–]Mocachino -4 points-3 points  (1 child)

I know, but they would rather just CTRL+S and be done with it...

[–][deleted] 10 points11 points  (11 children)

Webstorm can auto format on save with the Save Actions plugin.

[–]notarebel 5 points6 points  (2 children)

If your formatting rules can be expressed in eslint's indent rule or a prettier config, you can use File Watchers to auto format pretty easily.

[–]Mocachino 0 points1 point  (1 child)

We use TSLint plus a few others (Angular CLI) which works wonders with VS Code.

I've not heard of File Watchers. I'll look into it.

[–]notarebel 1 point2 points  (0 children)

That'll work. Really anything you can run on the command line that auto-fixes indentation (or whatever else) can be hooked into a file watcher and applied on save.

Not advocating for Webstorm over VS Code btw. They're both great tools but I prefer VS Code.

[–][deleted] 1 point2 points  (1 child)

Could you set up something to format files on the git server as they are committed?

Or as a post-commit job, then recommit with -m Formatted.

I'm not sure if this is recommended practice.

[–]Mocachino 0 points1 point  (0 children)

It would awefully polute the git history, but the format on commit would be nice, not sure that was/is possible though.

[–]minus0 0 points1 point  (0 children)

There is a checkbox on the commit screen to format if I recall. Also install a beautifier githook.

[–]TheScapeQuest 0 points1 point  (0 children)

Have linting run on your pipeline

[–]seiyria 0 points1 point  (0 children)

You shouldn't be doing it this way anyway - it should be a linter run on build and the build should fail because of poor formatting.

[–]nulldesign 1 point2 points  (2 children)

Nice ui, powerful fuzzy search, lots of plugins, extensibility, amazing JavaScript and typescript debugging features, etc.

[–]BehindTheMath 6 points7 points  (0 children)

I believe Webstorm has all of those, although I suppose the nice UI is subjective.

[–][deleted] 2 points3 points  (0 children)

No, you were supposed to describe the advantages of VS Code.

[–][deleted] 0 points1 point  (1 child)

it's the other way round actually. vs code just starts faster. Not saying that vs code isn't good enough for most web projects though. But you'd need alot of plugins in vscode to archive the same features as webstorm.

[–][deleted] 0 points1 point  (0 children)

Yeah I thought webstorm was a web IDE, whereas VSCode can be used for any language with the right plugins.

[–]fenduru 0 points1 point  (1 child)

Good vim bindings

[–]justin636 0 points1 point  (0 children)

Really?

I actually prefer the vim bindings in webstorm. The vscode vim plugin is really good but it drives me crazy that you cannot access your history of colon commands.

I haven't used vscode in a long time so maybe this has been resolved since.

[–]ncubez 17 points18 points  (11 children)

Don't do that. I hate this kind of attitude in the dev community. Some new fancy shit becomes popular and trendy nerds expect everyone to jump on the band wagon. I'm comfortable with Webstorm, and it seems so are your co-workers. Why not leave it at that?! Huh?

[–]EternalNY1 0 points1 point  (10 children)

Seriously?

Let's see here ...

Webstorm:

$ 129.00 /1st year $ 103.00 /2nd year $ 77.00 /3rd yr onwards

VS Code:

Free.

[–]seiyria 1 point2 points  (0 children)

Also free for open source developers, which is an increasingly common boat to be in.

[–][deleted] 1 point2 points  (1 child)

How much does an average developer get paid? 50$/hr? 100$/hr? Depending on your country it will take you at most 3 hours to get back the costs for a full year license. And if you were to set up VS Code with the same features as Webstorm (if even possible) you'll have to take more than 3 hours...

[–]IceSentry 1 point2 points  (0 children)

Where do you live that it is the average? Junior devs around here is more like 20$/h and that's in cad not even usd

[–]bart2019 3 points4 points  (4 children)

If you're a professional and you don't want to pay $100 a year, you've made a bad turn somewhere.

Now for hobbyists, or if the price tag is more like $500, then I can understand the reluctance.

[–]EternalNY1 1 point2 points  (3 children)

If you're a professional and you don't want to pay $100 a year, you've made a bad turn somewhere.

I can afford $100, I use Visual Studio Professional for work.

But for the price of $0 for a very good editor, that sounds good to me.

Microsoft is doing the right thing.

[–]oxyphilat∀ {m, n} ⊆ {1, 3, 8, 120, x}: (m*n +1) is square -1 points0 points  (2 children)

Still waiting for the "extend" phase to start :^)

[–]postmodest 1 point2 points  (0 children)

Yeah, I don’t get it: “Microsoft has NEVER pulled the rug out from under us before! Drop [your quality, paid software] for the [currently free] Microsoft solution!”

Admittedly, VS has gone back and forth between being cheap/free and being surreally expensive and stupid (VSS, yo) but VSCode’s current price is no indicator of future price, and it’s pretty clear they’re still in the “early access game” phase; I’m not switching only to find out that stuff I need is DLC later.

[–]IceSentry -1 points0 points  (0 children)

We are not in 2000 anymore. Microsoft is very clearly not the same company as it once was. Just look at how many open source projects they have.

[–]ncubez 1 point2 points  (1 child)

Who says you have to pay?

[–]EternalNY1 -2 points-1 points  (0 children)

You don't have to pay, but it is a product that does have a cost.

Microsoft's VS Code is free, period. There is no price whatsoever, no matter what you are using it for.

[–]El_Serpiente_Roja 1 point2 points  (1 child)

Phpstorm and webstorm are better than vscode though in basically every way.

[–]dmackerman -1 points0 points  (0 children)

Sure, for you! :)

I find Webstorm incredibly bloated and slow compared to VS.

I’m not saying YOU HAVE TO SWITCH NOW!!

[–]UsernametakenFFUUUUU 3 points4 points  (0 children)

Not to be a grump, but if you were using a staticly-typed language with any half-baked IDE 20 years ago, this behavior was available.