this post was submitted on 25 Jul 2024
78 points (100.0% liked)

Neovim

29 readers
1 users here now

founded 1 year ago
MODERATORS
 

Based on answers to the following question:

Which development environments did you use regularly over the past year, and which do you want to work with over the next year? Please check all that apply.

Neovim is the most admired code editor in the 2024 Stacked Overflow Developer Survey

Source: https://survey.stackoverflow.co/2024/technology#admired-and-desired-new-collab-tools-desire-admire

top 35 comments
sorted by: hot top controversial new old
[–] pkill@programming.dev 15 points 3 months ago (1 children)

Discord as the 2nd most desired sync comm. tool with 71% admire score

fucking zoomers

[–] ericjmorey@programming.dev 4 points 3 months ago (1 children)

Discord is designed and implemented better than all of the other options I've used. I think I've used 10 of them.

[–] pkill@programming.dev 1 points 3 months ago* (last edited 3 months ago)

just note that actually very few of them have native apps so... and mind digital sovereignty and privacy. also discord doesn't work well outside of chromium, contributing to this dreadful web monopolization.

[–] AVincentInSpace@pawb.social 8 points 3 months ago (2 children)

Love how the lowest 3 are Eclipse, NetBeans, and Code::Blocks

[–] CameronDev@programming.dev 2 points 3 months ago (1 children)

Those are the 3 I was forced to use in Uni. Only one missing is Bluejay

[–] AVincentInSpace@pawb.social 2 points 3 months ago (1 children)

These companies really do have a competition going for who can make the shittiest Java IDE, huh

[–] CameronDev@programming.dev 3 points 3 months ago

At the time (pre-Jetbrains) Eclipse was pretty good. Haven't been back lately, but it was a top tier IDE.

I think the others are all closer to pet-projects, they are basically a text editor with a run button, I even wrote one myself for tcl. I just never got the chance to inflict it on some poor uni students :D

[–] NostraDavid@programming.dev 2 points 3 months ago

Code::Blocks is a step up from Bloodshed DevCpp, which was outdated the moment we started using it, but our teacher was a hardcore "I only need a netbook with Windows XP to program my games" kind of guy. He loved programming games for game systems that were older than him 😂. Good on him for being content to work on a 10" screen though.

[–] sxan@midwest.social 7 points 3 months ago* (last edited 3 months ago) (2 children)

I'm not surprised at Helix's numbers, either. I wish we could sort by Admired; I think the picture would be more interesting.

Using my newly patented VisualSort, it looks like it'd go:

  1. NeoVim
  2. Visual Studio Code
  3. Rider
  4. DataGrip
  5. IPython
  6. Goland
  7. Vim
  8. Helix ... 27 others

So, in the top 22%. And I think some of the others are cheating & cutting themselves short at the same time, because vim and nvim are fairly indistinguishable, and isn't Goland based on IntelliJ?

What's weird is that I've never heard of Rider or DataGrip[^1], yet Kakoune isn't even on the list.

Sad to see Netbeans sink so far, though; back in the day, when I was a Java developer, it was my favorite, being far lighter weight than Eclipse and having a really decent WYSIWYG GUI designer. Nobody uses Java for desktop apps anymore, though, do they?

[^1] Edit: oh. .NET, and SQL. Well, I guess you could consider both to be programming languages if you squint a bit.

Edit #2: surveys are hard, but I really take exception to their OS survey, which they sum up as "windows is the most popular," and then they have Linux broken up into 5 major distributions, and then yet another catch-all for "other distribution." Windows is just "Windows," not "Windows 11," "Windows 10," "Windows XP," and "other Windows" (although they do break out WSL). And that's not even counting Android. If you add up all of the Linuxes, it's more popular than Windows (by this survey).

Seriously, who wrote this?

[–] AVincentInSpace@pawb.social 6 points 3 months ago* (last edited 3 months ago) (2 children)

Vim and Neovim are fairly indistinguishable

You mean apart from being able to write plugins in Lua instead of Vimscript?

[–] BatmanAoD@programming.dev 2 points 3 months ago

Regular vim has that (as a compile option, like most of its features).

[–] sxan@midwest.social 2 points 3 months ago

I'm sure there are more differences; nvim has plugins written in every language. One reason I stepped away from it is because, for development, I was using a fair number of plugins, and i noticed the starting nvim would launch nodejs, a Python runtime, a Java VM, Lua runtimes... I started to feel as if I might as well be using emacs.

So, yes: you're right. NeoVim has more features than plain vim, including a dozen different plugin managers and the ability to write plugins in almost any language. I meant that, from an editing modality, they're very similar.

[–] NostraDavid@programming.dev 2 points 3 months ago

[^1] Edit: oh. .NET, and SQL. Well, I guess you could consider both to be programming languages if you squint a bit.

I'm hoping they'll have a separate Query Language list. We need to know more query languages because SQL has wayyy too much power, IMO.

[–] t0mri@lemmy.ml 6 points 3 months ago

I thought notepad++ was a joke

[–] nickwitha_k@lemmy.sdf.org 5 points 3 months ago

Neovim is rather wonderful. I haven't yet seen good plugins for OpenAPI specs, so, I'm stuck with VSCode for that but, it really is my go-to.

[–] ExtremeDullard@lemmy.sdf.org 5 points 3 months ago* (last edited 3 months ago) (5 children)

I must be a minority then. I tried it once - as in, I made a real, honest attempt at liking it and making it work for me - and all it managed to do is show me it's buggy and confused, and to convince me to steer well clear of it and stick to vanilla Vim.

I really really dislike Neovim.

Also, I question the vailidy of a survey in which VSCode is 13 times more "desired" - whatever that means, it's not like it's hard to procure - than VSCodium, given that VSCodium is VSCode sans the Microsoft spyware. Makes no sense to me...

[–] SexualPolytope@lemmy.sdf.org 4 points 3 months ago* (last edited 3 months ago)

I understand not liking the vim way of doing things (which seems not to be the case for you), but I've never heard anyone describe neovim as buggy. Not throwing shade, genuinely curious. What bugs did you encounter, and when was it?

Edit: I missed that you posted a link there. Interesting.

"Desired" and "Admired" are very strangle labels, it like the question(s) might have been:

Which development environments did you use regularly over the past year, and which do you want to work with over the next year? Please check all that apply.

In which case VSCodes high "desired" score just means that it was widely used?

[–] ericjmorey@programming.dev 3 points 3 months ago* (last edited 3 months ago) (1 children)

I remember that post. I'm surprised that nobody has run into that problem until now. Did you open up an issue on the Neovim GitHub repository?

I ask because I don't see one and I want try to replicate the issue. I'll report it myself if I'm able to.

[–] ExtremeDullard@lemmy.sdf.org 3 points 3 months ago (1 children)

I don't care enough to bother, to be honest. Neovim, like Vim, is just a tool to me. It failed me, I moved on. I have more interesting things to spend my time on.

[–] ericjmorey@programming.dev 1 points 3 months ago

I care, because what you found is a bug. And I think it would be best to document the intended behavior and a temporary work around, and then fix the bug. So I'm doing just that.

[–] NostraDavid@programming.dev 1 points 3 months ago

given that VSCodium is VSCode sans the Microsoft spyware

Can't use Pylance in VSCodium /rant

It's one of vscode's killer features (at least for Python), and I can't live without it (I tried).

Yes, I don't like it either; I wish I could use Pylance in Neovim or anything else LSP-enabled, but it is what it is.

[–] AVincentInSpace@pawb.social 1 points 3 months ago* (last edited 3 months ago) (3 children)

I don't know how to open that post on my instance so I can reply to it, but if you're willing to give it another shot, I figured out how to get indentexpr= to apply to all buffers from init.vim, using an auto command. Add this to your init.vim:

autocmd BufRead,BufNewFile,VimEnter * set indentexpr=
set indentexpr=
[–] ericjmorey@programming.dev 2 points 3 months ago (1 children)

You can get to the post using this link: https://threadiverse.link/lemmy.sdf.org/post/18253296

It's awesome that you were able to find a solution!

[–] AVincentInSpace@pawb.social 1 points 3 months ago

Thanks for this tip!

[–] ExtremeDullard@lemmy.sdf.org 2 points 3 months ago

Ah, thanks for your efforts, you're very kind. But I'm done with Neovim. It's already wasted more of my time that it was ever going to be worth.

I wanted to try Neovim to give Treesitter a spin. In the end, I went with something much simpler that works immediately and without drama in Vim and does what I really wanted all along: simple, dumb autocompletion.

[–] ericjmorey@programming.dev 2 points 3 months ago

I think I found a more direct way. I'm still looking into the details though.

[–] vox@sopuli.xyz 1 points 3 months ago* (last edited 3 months ago) (1 children)

why is vscodium listed separately by the way, it's literally built from exactly the same code as vscode, just without the proprietary licensing, ms branding and using openvsix extension gallery by default

[–] dmalteseknight@programming.dev 4 points 3 months ago

I would guess to see how many people go out of their way to use vscodium over vscode.

[–] Leate_Wonceslace@lemmy.dbzer0.com 1 points 3 months ago (2 children)

This popped in my feed. What is it? I'm interested.

[–] embed_me@programming.dev 3 points 3 months ago (3 children)
[–] zagaberoo 4 points 3 months ago

Don't besmirch the cult of vim like that!

I'm not sure I know what you mean.

[–] Cube6392 2 points 3 months ago

This presumes vim itself isn't already a cult. In fact... I don't think you're pure of thought enough yet. Go write a new statusline and don't get back to me until you're fully satisfied with it