Live data from Hacker News

Switching from Vim to Intellij

browntreelabs.com

51–60 of 263 posts

Re: Switching from Vim to Intellij

#51

you were unhappy with the plugins. learn vim the right way and ditch plugins altogether.

Agreed, as Vim/Neovim has risen in popularity recently it seems there is a trend of people thinking it’s only usable if you install these 57 plugins, and a large number of these users seem to have blind spots on Vim’s native capability.

The autocomplete feature is a great example of this. I do not use an autocomplete plugin at all, but rather use Vim’s native ins-completion. Combined with a language server and a lightweight LSP client (I use vim-lsc) this works beautifully.

I am excited for some of the upcoming changes in neovim however. I think the introduction of treesitter for syntax highlighting and a native LSP client will both be huge

Re: Switching from Vim to Intellij

#52

I have been using Jetbrains IDEs for a long time now, started with PyCharm and made my way through Webstorm to CLion for uni. It's great, but the RAM cost has been too high for me. I've been slightly switching the opposite way, using vim more and more for smaller stuff and opening the IDE only for larger projects or work stretches. I definitely love the value of vim as a nifty tool, my workflow is noticeably faster.…

As for ram usage, I currently have two huge java projects open, and three elm/frontend projects with all the shared packages opened as modules, and it's about 5GB. While it's certainly more than a text editor (still less than chrome lol), is it really so bad? My laptop got 64GB of ram and 34GB of those are sitting unused and 8GB is just cache. I actually prefer it to use more ram than having to recompute stuff or loa…

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.

Re: Switching from Vim to Intellij

#53

I switch from Vim to IntelliJ and then back multiple times every day - one is for fast editing of smaller codebases and the other is for sprawling codebases. One thing I've noticed about IntelliJ though (and any other IDE), is that eventually I manage to get the thing configured into some inconsistent state that I can't figure out how to get out of and I have to restart everything from scratch before I can get things…

Every few weeks I get my (vscode) IDE into a state where it no longer autocompleted and I have to reinstall it. Have yet to encounter the problem with emacs

Re: Switching from Vim to Intellij

#54

I have been using Jetbrains IDEs for a long time now, started with PyCharm and made my way through Webstorm to CLion for uni. It's great, but the RAM cost has been too high for me. I've been slightly switching the opposite way, using vim more and more for smaller stuff and opening the IDE only for larger projects or work stretches. I definitely love the value of vim as a nifty tool, my workflow is noticeably faster.…

As for ram usage, I currently have two huge java projects open, and three elm/frontend projects with all the shared packages opened as modules, and it's about 5GB. While it's certainly more than a text editor (still less than chrome lol), is it really so bad? My laptop got 64GB of ram and 34GB of those are sitting unused and 8GB is just cache. I actually prefer it to use more ram than having to recompute stuff or loa…

> and it's about 5GB.

IMO yes. My machine has like 8 total and Chrome monopolizes quite a bit.

Re: Switching from Vim to Intellij

#55
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

Isn't CLion rolling in Rust?

Re: Switching from Vim to Intellij

#56

I was thinking there might be something interesting here. Then I got to this line: "I started a new job working on a large typescript React project. Vim couldn’t handle opening a TSX file larger than 50 lines without crashing." And I was like LOL WUT? The author's case in this regard woudl be stronger if they helped us understand what was actually going wrong. Bad plugins? Conflicting macros? I'm pretty sure that sim…

Right, The point was about configuration. I had a configuration that worked for a couple years, then I start a new job and the config breaks on the first 50+ line TSX file. Now I have to go and find the culprit, find a replacement plugin (in this case, yajs JS parser was slowing things down). and before I knew it, I was re-configuring everything again. I was more criticizing the ecosystem of plugins and how brittle some may be.

Re: Switching from Vim to Intellij

#58
post #10

What does the author mean by "setting up copy/paste? I've been using vim for about 20 years and just do "+y and "+p

Do you have "+y and "+p configured to use the system clipboard? Does that work for you even when running vim over ssh?

1. I don't have them "configured" that's how it works out of the box.

2. Why would I run vim over ssh when I can use netrw with a local vim?

Re: Switching from Vim to Intellij

#59

Earlier quoted context omitted.

As for ram usage, I currently have two huge java projects open, and three elm/frontend projects with all the shared packages opened as modules, and it's about 5GB. While it's certainly more than a text editor (still less than chrome lol), is it really so bad? My laptop got 64GB of ram and 34GB of those are sitting unused and 8GB is just cache. I actually prefer it to use more ram than having to recompute stuff or loa…

> and it's about 5GB. IMO yes. My machine has like 8 total and Chrome monopolizes quite a bit.

and lately for me it's been Zoom and Discord on top of Chrome and Jetbrains. Trying to write code while on a call is a recipe for memory giving up.

Re: Switching from Vim to Intellij

#60
post #20

Earlier quoted context omitted.

They prob mean copies outside of Vim.

Yes, I was specifically talking about copying things to and from vim, with/without tmux. Maybe its not a huge issue to all, but I always forget when I set things up on a linux machine vs. Mac OSX

gvim on mac/linux/windows will use the + register for the system clipboard. I'm pretty sure that a terminal vim with gui support compiled in will do the same (I know it does on Linux/X but haven't tested on mac or windows in a while).
Post reply on HN