this post was submitted on 25 Jun 2023
9 points (100.0% liked)

Text Editors

457 readers
1 users here now

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
 

Which one to choose for development? Advantages & disadvantages of each?

you are viewing a single comment's thread
view the rest of the comments
[–] Hexarei 2 points 1 year ago (4 children)

Interesting, I've got plenty of plugins in my Neovim setup and I have zero performance problems. That includes auto completion, tree sitter, surround... I'm curious what plugins you were using that made it slow down

[–] andnekon 1 points 1 year ago (3 children)

LSP and a really big project, although it's not necessarily neovims fault

[–] Hexarei 3 points 1 year ago (2 children)

Now you've got me curious how big of a project that was - I've not really had any slowdowns or speed issues at all with Neovim, even paired with an LSP in some of my team's biggest projects. Few hundred thousand files not counting vendor libs, that sort of thing.

I think the only thing I've ever seen really slow down was Telescope, and that's because I have it showing previews of the selected file.

[–] andnekon 1 points 1 year ago* (last edited 1 year ago) (1 children)

Few hundred thousand files

My definition of "really big" is changed. I was talking about around 10k files of source code.

The project is in java, the machine has 8 Gb ram, and when I open a different file it sometimes catches brief freezes - not to the point where it stops "being performant enough", but still noticeable. Also, sometimes nvim-tree is slow when I expand directory, which is annoying

[–] Hexarei 2 points 1 year ago

Hmm. I'm not super familiar with Java's LSP setup and such, but my instinct is that it might be something to do with the performance of its syntax highlighting. The person I am, I can't help but wonder what plugins you were using, but I won't push to try and help you get it solved necessarily. Hope you've found a good solution with your current editor though!