I’m getting back into coding and I’m going to start with python but I wanted to see what are some good IDEs to write the code. Thanks in advance.
Codium. It’s VSCode without the proprietary stuff
Beat me to it mate.
Here is the link. https://vscodium.com/
Nevermind @slazer2au@lemmy.world answered it.
My husband, who mostly codes in assembly these days (he’s mostly retired so his hobby is old atari, amstrad, and spectrum computers), went from VSCode, to Sublime, to now Kate. He prefers to use 100% open source apps, without strings attached. VSCode is nice, but it has lots of weird stuff in it that aren’t necessarily up to the spirit of open source. So Kate works perfectly for him, although VSCodium would do well as well (it’s just that Kate has better syntax highlighters for his weird assembly). Also VSCode/ium is using about 250 MB of RAM, while Kate about 45 (and Sublime only about 32).
Vim/neovim
I’d suggest going with LazyVIM / SpaceVIM as a starting point, though, as configuring vim from blank state is an art itself and requires quite some time and dedication.
I still have no understanding of how to do literally anything in vim, I couldn’t even close out lol.
configuring vim from blank state is an art itself and requires quite some time and dedication.
Not really sure where you got this from. It’s quite simple to me. The default vim config works completely fine for me if I’m eg in a VM and I don’t want to copy all my vimrc and plugins over, if it’s a machine I’ll be using more long-term then it’s quite quick to configure a few settings to be how I prefer them to be. Main changes I make to a default config is enabling line numbers (idk anyone who wouldn’t want line numbers tbh) and setting them to be relative, set scrolloff=9999
, use 4 spaces for indent, enable line and column highlighting, set a theme, and a couple odd scripts, but again the default is perfectly usable and the tweaks in my vimrc are just to my personal taste.
I use Helix. It’s kinda like a preconfigured Neovim. I really like it, my only complaint is that it (currently) doesn’t have a filetree
Seconded. I’m coming from Emacs (+evil), so I’m still missing a few features (proper git integration a-la magit, collaborative editing a-la crdt.el, remote editing a-la tramp). However what is already there works way better/faster/more consistent than any other editor IMHO, and I’ve tried neovim with plugins too. I particularly enjoy the ability to traverse the AST rather than text (Alt+l/p/o/i by default, but I have it remapped to Alt+h/j/k/l). Really looking forward to https://github.com/helix-editor/helix/pull/8675, I’ll probably write a couple plugins if this ever lands.
You can already do so incredibly much by hooking up a few extra LSPs and keybinds (calling external scripts/programs)!
What I’m personally still missing though:
- Code Folding
- More refined subprocess handling, i.e. term-buffer switching or floating term (when excuting gitui via keybind for example)
- Emacs Org-Mode like context aware styling, for i.e. Bold or Italic text hints from LSP
- Font changes (restricted through terminal)
- Different Font/Line sizes for i.e. headings (restricted through terminal)
- Inline images (sixel!)
- Dedicated optional client, a-la Neovide with cursor animations (helps orientation with jumps etc.), and to alleviate the previous terminal restrictions
I use Yazi and its amazing. Here’s their docs on how to set it up as a file picker in helix.
I wanted to try to use this with yazi, to get the file picker without having to rely on zellij (or any other terminal multiplexer)…
I use PyCharm for work but it’s not FOSS or beginner-friendly. PyCharm does have a free community edition which is awesome if you’re mostly into FOSS for the $0 aspect.
- https://thonny.org/ - for the first few days of learning and easy setup
- https://www.spyder-ide.org/ - especially good for data science
- https://eric-ide.python-projects.org/ - full-featured general purpose IDE
Codium is fine and technically FOSS although it’s association with Microsoft taints it for anyone who still hates MS from the bad old days. Also it’s an Electron app.
Codium is fine and technically FOSS although it’s association with Microsoft taints it for anyone who still hates MS from the bad old days.
“New” Microsoft isn’t really any better, and although Codium itself is perfectly fine (Electron notwithstanding) many of Microsoft’s extensions only work with/are only licensed for the official VSCode build and include proprietary parts.