this post was submitted on 30 Jan 2024
261 points (95.5% liked)
Open Source
31417 readers
12 users here now
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Useful Links
- Open Source Initiative
- Free Software Foundation
- Electronic Frontier Foundation
- Software Freedom Conservancy
- It's FOSS
- Android FOSS Apps Megathread
Rules
- Posts must be relevant to the open source ideology
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon from opensource.org, but we are not affiliated with them.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Thanks for the suggestions. I have not tried the recent vscode. I had tried it way back in uni and really didn't like it at the time so never tried it again but I have also heard positive things about it from some other people so probably time to reevaluate. I think for me, must haves are: it must work with python and C minimal. Autocompletion, function definition, goto, code linting are the first things that come to mind (don't need debugger and I guess that is not an editor's job, python has its own module and for C there is gdb for advanced needs). In VIM, I could achieve these via plugins ofcourse.
I also haven't tried Helix but Neovim was on my mind for a while. Are Helix and Neovim different from each other in terms of editor mode styles? I will also check Pulsar (continuation of Atom), hopefully soon I will get an editor that I feel at home with.
I think vscode has definitely come a long way since it first dropped several years ago. You can definitely get auto complete, goto, lining, etc. Via the LSP framework, so all those things should work for python and c with some plugin installs and maybe a bit of configuration. The built in debugging support is also really nice.
Neovim is basically the same as vim in terms of its editing modes. Vim and neovim use a action -> select paradigm eg. To delete a word you would type d (for the delete action) then w (to select the word). Helix uses a select -> action paradigm so to delete a word you would press w then d. One of the nice things about this is you can see what text you'll be operating on before you actually perform an action. Helix also supports multiple cursors, which can be more familiar if you're used to sublime, atom, etc. Both have support for LSP so you can basically get code intelligence on par with most IDEs for many languages. Helix is generally a bit easier to configure if you're just using the base package, but isn't as customizable and doesn't support plugins yet.
If you want to check out neovim I'd recommend using a pre-built configuration like Lunarvim or Lazyvim these are just configuration distributions that take a lot of the legwork out of bringing neovim up to par with modern editors. Think of it like copying someone's dot files.
Thanks! by the way I meant I tried visual studio back in uni and always assumed vscode would be sth similar but now I realize not