Live data from Hacker News

Why I Switched from Visual Studio Code to JetBrains WebStorm

mokkapps.de

131–140 of 163 posts

Re: Why I Switched from Visual Studio Code to JetBrains WebStorm

#131
I use IntelliJ IDEs for statically typed languages (and Ruby/Rails), the refactoring/ navigation is top notch and search is super quick.

For web work I use VS Code because it has the best plugins for Vue, React, etc. I would also use it for less popular languages.

Re: Why I Switched from Visual Studio Code to JetBrains WebStorm

#132
post #37

When you guys think about all the developers you know, do you rather see a positive or a negative correlation between the usage of high level tools and developer productivity? In other words, is your experience that developers who use an IDE are more productive then developers who only use a text editor? In my experience, the (very few) developers I know who only use VIM or Emacs are way more productive then those wh…

I only use Vim, currently inside WebStorm. From my anecdotal experience, people who are willing to learn vim/emacs are also willing to learn a lot more about the whole programming experience, tools and theory. They usually are more productive, but I don't think it's vim that's making them productive, it's the other way around usually.

I learned vi originally for a job where I had to work on legacy hardware systems and it was that or nano and for whatever reason I couldn't stand nano. At the time, I was also using a small set of 3-4 different IDEs for the "regular" (RF/embedded) work.

Fast forward a few years on that job, I'm finding myself utilizing a workflow that's tracking closely to ESR's TAoUP. I still have to lean on the IDEs for certain classes of problems that I might come across, but they became a tool in my toolbox instead of being the toolbox.

That was all well over a decade ago. I haven't touched an IDE in my full-time work since 2013 or 2014, when I wrote my last line of C#. If I had to go back, I'm glad that VsCode has appeared on the scene in the meantime, but I wouldn't be thrilled about it.

My personal opinion is that living at the layer that I live at, in a terminal with a multiplexer and doing things that leans heavily the UNIX philosophy, gives me an understanding of the systems that I create that I perhaps wouldn't get otherwise.

Re: Why I Switched from Visual Studio Code to JetBrains WebStorm

#133

I can understand that people may perceive VS Code and WebStorm as alternatives. Though, as rightly pointed out by the author, the former is an editor while the latter is an IDE. The whole post just says that in 10 different redundant ways.

You can debug inside VSCode. That is an IDE. Practically by definition. A text editor is Sublime text.

Debugging isn't the only thing - I used to use a standalone debugger years ago.

The key factor for me, is the ability for the tool to understand the codebase at some level. It needs to be able to tell me where a symbol is used, let me refactor that symbol (e.g. adding a new mandatory argument, or changing the argument order, or renaming the symbol) with as little extra work from me as possible.

Jetbrains tools allow me to do all of that (in PHP at least. I write about as much JS as I eat mud) where no others I've seen do.

Re: Why I Switched from Visual Studio Code to JetBrains WebStorm

#134

I use IntelliJ IDEs for statically typed languages (and Ruby/Rails), the refactoring/ navigation is top notch and search is super quick. For web work I use VS Code because it has the best plugins for Vue, React, etc. I would also use it for less popular languages.

Same here. For D the best thing is VS Code or Emacs (Spacemacs) atm. I also swap to VS Code for when resources are tight on a system (VMs sucking all the juice). And when I need a lighter editor I open up Sublime Text 3 or VIM if in a Terminal.

Re: Why I Switched from Visual Studio Code to JetBrains WebStorm

#135
post #129

Earlier quoted context omitted.

* Find usages * Go to definition * Extract method * Introduce parameter * Inline variable * Rename method * Rename variable In a Jetbrains tool these are automatic / atomic operations.

All of these can be done in emacs/vim as well for most of languages. None of the above is modern by any standard.

Feel free to demonstrate how in either of the above to highlight a block of code, extract it to a function and replace all the duplicate blocks with a call to the newly extracted function correctly across an entire codebase in a couple of keystrokes.

Or have a go at https://github.com/daviddenton/refactoring-golf

Re: Why I Switched from Visual Studio Code to JetBrains WebStorm

#137

Very biased article and by the way, tslint will also warns you if you don't use promise: https://palantir.github.io/tslint/rules/no-floating-promises...

I don't think it's deliberately biased, just a guy who's not very invested into the VSCode/Typescript ecosystem who's going back to his known tools.

FYI TSLint still has a large amount of config required to get it working, and the vscode integration still has a "wont-fix, upstream" bug where it won't lint files unless they are open in the editor. So you need to manually run tslint from the commandline. See: https://github.com/Microsoft/vscode-typescript-tslint-plugin...

I'm guessing that webstorm does this this more auto-magically for the user.

Re: Why I Switched from Visual Studio Code to JetBrains WebStorm

#138
post #19

When you guys think about all the developers you know, do you rather see a positive or a negative correlation between the usage of high level tools and developer productivity? In other words, is your experience that developers who use an IDE are more productive then developers who only use a text editor? In my experience, the (very few) developers I know who only use VIM or Emacs are way more productive then those wh…

> do you rather see a positive or a negative correlation between the usage of high level tools and developer productivity? Absolutely none whatsoever. If anything it's negative. I have never found "speed of editing" to be remotely correlated with good code or even productivity.

While I totally agree with the "speed of editing" part, I can't imagine (well, I can, and it's awful) working on a "real" project in "real" business environment (by that I mean something that puts bread on the table, has tens of thousands to hundreds of thousands of lines of code, has a lot of legacy code and was written by a dozen of programmers over the years) without an IDE. It's not even about linting or code completion, it's about being quickly able to ctrl+click to definition, peek at definition etc. Modern IDEs are so much more than just editors of text. In the age of Microsoft beginning to incorporate machine-learning assisted autocomplete people talk about emacs here... lmao, get the fuck out of here.

Re: Why I Switched from Visual Studio Code to JetBrains WebStorm

#139
post #19

Earlier quoted context omitted.

> do you rather see a positive or a negative correlation between the usage of high level tools and developer productivity? Absolutely none whatsoever. If anything it's negative. I have never found "speed of editing" to be remotely correlated with good code or even productivity.

most people here aren't talking about speed of editing, but rather speed of code navigation. That way it's easier to figure out what's going on in larger codebases, or one even just one you're not familiar with.

100% agreed. Talking about the speed of editing is completely missing the point. The value added by IDEs is not in the speed of writing text.

Re: Why I Switched from Visual Studio Code to JetBrains WebStorm

#140
post #54

Maybe people should realize that the problem is with the JS libraries ecosystem and how most are build in a way that "just jumping into a lib/framework to read its code and see what it does" can't seam to be feasible anymore . For example, in a React app if I'd want to jump from a `Route` import from react-router to it's readable code definition [1], NO IDE or editor around is capable a properly doing the jump, I eit…

It's been bugging me for a while now as I can't find the video but the Vs code team made a demo where they were able to jump to a dependencies source code on github inside the editor. Looked pretty amazing and would definitely solve the problems you mentioned.

It might have been --declarationMap, part of Typescript 2.9

https://github.com/Microsoft/TypeScript/wiki/What's-new-in-T...

Jumping to definition works with typescript projects correctly when this is turned on, but it's still not a solution for JS projects with definition files

Post reply on HN