Live data from Hacker News

Switching from Vim to Intellij

browntreelabs.com

131–140 of 263 posts

Re: Switching from Vim to Intellij

#131
post #45

Little off topic, but it unfortunate that the ultimate edition doesn’t include C/C++ and I have to buy yet another pack of “all products” to get that. I pay out of pocket and have yearly subscription. Not sure if the next thing they make for, say Rust, will be yet another thing to buy

The Rust plugin runs well in the free ones (IDEA & PyCharm)

Re: Switching from Vim to Intellij

#132
post #121

Earlier quoted context omitted.

No kidding, I tend to wait for Jetbrains to support things officially before seriously trying new languages. I just need my refactoring tools.

It's worth noting that the IntelliJ IDEA Java IDE was Jetbrains' first and it is written in Java. A few years later they invented Kotlin with a focus on strong IDE support. The language was designed from the beginning with tooling in mind.

And still I feel that tooling for Kotlin lacks behind the tooling for Java (but still far superior to many other languages).

Re: Switching from Vim to Intellij

#133
post #120

As a longtime WebStorm user I would really appreciate a WebStorm + let’s say PyCharm vs IntelliJ. I’m a bit happy by the default configuration of each dedicated IDE, rather than clicking around in IntelliJ and fix stuff. What’s your opinion on that?

According to this JetBrains engineer, WebStorm is a subset of PyCharm: https://intellij-support.jetbrains.com/hc/en-us/community/po...

It is not obvious from that Pycharm is actually a complete web developer IDE tool. But it has to be to support Django, it's html templating, and associated js.

Pycharm goes further and supports React and modern web toolchains as well. I suspect jetbrains would rather have you buy an intellij license if possible.

Re: Switching from Vim to Intellij

#134

As a long-term Emacs user, I started really enjoying typing with Vim bindings (evil mode). It feels to me that Vim is great at the low-level process of editing text. Everything else is fine - as good as any power editor, but not inherently great. This is the complement of Emacs, which to me is exactly the other way around.

I want to switch to using Spacemacs and use Evil but on Windows 10 I'm having no luck getting that working due to some weird errors when emacs starts and tries to install the packages. So for the time being I'm stuck using vim.

Portacle worked really well for me on Windows 10, while learning Common Lisp. It's a nice base of settings that can be esiliy expanded upon. Vanilla Emacs was a nightmare. Once I got comfortable with Portacle, I swapped out the emacs folder with the a v28 build for much better performance. Much better than Space/Doom Emacs (on Windows).

Re: Switching from Vim to Intellij

#135
post #68

Earlier quoted context omitted.

That's... an interesting take. I'm not sure it's well founded, could you expand on your thought? The refactoring tools in JetBrains products are amazing for me. Renaming a variable and having all uses within scopes renamed too is great. Renaming classes by patterns is also great. Being able to move definitions to new files and have it update all my imports etc is great. Not sure I see any downsides to optional tools

I mean, Java is pretty notorious for sprawling names like INetworkSessionManagerFactorySidecarControllerFactoryHelper. It's pretty hard to argue that that phenomenon isn't driven by the ubiquity of IDEs in the Java community. With high-powered auto-completion and one-button refactoring, your brain stops processing the full name. No one's incentive to pause for a minute and come up with thoughtful variable names. For…

Somebody who is too lazy to choose a good variable name in IntelliJ would also have chosen a bad (or even worse) variable name without the tooling. I don't buy that argument.

For class names it might be true that long compound names are driven by auto suggestions from the IDE. But I'm wondering if they're really as bad as their reputation. Somehow it's similar as for variables. You can still come up with more meaningful names if you want but I admit that auto suggestions do more harm there.

Re: Switching from Vim to Intellij

#136
post #69

Earlier quoted context omitted.

Refactoring tools do more harm than good and they exist to duct tape the complexity path some programming languages set you on by adding more complexity.

I'm not aware of any languages so simple that renaming an identifier and its usages isn't a useful feature.

How often do people rename identifiers for that to be a particularly useful feature? If it's not that often, you might be served fine with something like

  sed -i 's/foo/bar/g' **.rb
It's not precise, so it might take some manual work and tweaking with the patterns, but for how often I've had to rename identifiers, it works good enough to handle the bulk work.

A bit of forethought when first naming things works wonders, too.

Re: Switching from Vim to Intellij

#137
post #117

Earlier quoted context omitted.

well, there is your answer. You can afford to have it open, I'm running on 8GB ram so the jetbrains ram usage has a considerable cost.

Are you still in school? If yes, well just take RAM into consideration next time. If no, get your boss to buy you a decent laptop immediately.

yep first year. Funnily enough, I have a laptop grant from uni, waiting to see how those ARM Macs turn out.

Re: Switching from Vim to Intellij

#138

Earlier quoted context omitted.

well, there is your answer. You can afford to have it open, I'm running on 8GB ram so the jetbrains ram usage has a considerable cost.

If you are a developer and you can't afford a machine that has more than 8 gigs of RAM, what are you even doing?

studying :)

Re: Switching from Vim to Intellij

#139

Once coding no longer was on the critical path of my employment (as a middle manager in a large tech company) I went back to vim from IntelliJ with nothing more than syntax highlight and autoindent. The reason? I wanted to know my programming languages better. Instead of auto-imports and auto-complete I was forced to have java/scala docs open for whatever library I was using. Beyond giving me better muscle memory for…

> this had the interesting side effect of only using well documented libraries

That's great that you get to choose your own libraries. I'd wager most people that are using IntelliJ (or any IDE) also don't often have much of a choice in libraries they're using.

IDEs never seemed to appeal to me when I was writing 100% of my own code. When I migrated to using more and more OPC (other peoples' code), whether project legacy stuff, or third party libraries, the ability to more quickly scan/jump/drill into that OPC, the more value I realized from various IDEs. Mostly JetBrains these days (interested in pairing with folks with their newish 'code with me' plugin/service), but vscode and eclipse make their way in to my life for small periods now and then.

Re: Switching from Vim to Intellij

#140

"Switching" seems like a strong reaction, but there's something to the feeling the author describes. I use vim quite a lot, every day. I also use IntelliJ IDEA every day. And yes, there's a bit of mental switching I do, and every now and then I use vim navigation keys while in IDEA, but generally it works for me. Different tools for different jobs. Then again, I have no trouble loading reasonably large documents in v…

> BUT I relate to the feeling of not being quite sure that all of my customization are quite enough, of not using vim to its full potential. Or even 10% of its potential.

There's a lot of built-in features in vim without requiring the installation of plugins. So, you might not need to customize it at all to use more of its potential, just read the manual.

Post reply on HN