this post was submitted on 17 Dec 2024
63 points (94.4% liked)

Linux

48632 readers
1880 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

all 44 comments
sorted by: hot top controversial new old
[–] 737@lemmy.blahaj.zone 3 points 1 hour ago

vim/nvim is really great

[–] learnbyexample@programming.dev 2 points 4 hours ago

I use Vim ;)

Python itself provides IDLE, which is good enough for beginners. https://thonny.org/ is another good one for beginners.

As mentioned by others, Jetbrains is good for many languages. https://www.kdevelop.org/ is another option.

[–] veer66@social.vivaldi.net 1 points 12 hours ago

@SpiceDealer I use Emacs as an IDE for Python.

[–] eugenia@lemmy.ml 20 points 1 day ago* (last edited 1 day ago) (1 children)

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).

[–] SpiceDealer@lemmy.world 12 points 14 hours ago

(he’s mostly retired so his hobby is old atari, amstrad, and spectrum computers)

Your husband is an absolute legend.

[–] manito_manopla@lemmy.ml 8 points 23 hours ago
[–] Kazumara@discuss.tchncs.de 8 points 1 day ago* (last edited 1 day ago) (1 children)

I really like Kate as an advanced editor with syntax highlighting, auto-completion, plugin support. I would then use the Terminal pane at the bottom to run my code during development.

However, if you want a full IDE with included dependency management, test runner, and debugger it's probably not enough.

One of my professors said you don't need an IDE, the Linux system already is a development environment. Not sure that I fully agree with that, especially thinking of things like Android Studio that include the virtual machine smartphone, but it's still an approach thing that is worth trying out.

[–] Telorand@reddthat.com 4 points 22 hours ago

Nobody needs an IDE. After all, you can just open a blank file and get straight to work. I could also just use Linux without a DE. Who needs all those graphics, amirite? I could also use a can with some string instead of a phone—or better yet, just shout really loud!

(/j)

[–] hamburger@discuss.tchncs.de 19 points 1 day ago (1 children)
[–] nullstreamer@feddit.org 10 points 1 day ago (1 children)

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.

[–] 737@lemmy.blahaj.zone 1 points 1 hour ago (1 children)

starting off with nothing but vim/nvim really isn't bad

[–] Jakeroxs@sh.itjust.works 1 points 52 minutes ago

I still have no understanding of how to do literally anything in vim, I couldn't even close out lol.

[–] 2kool4idkwhat@lemdro.id 10 points 1 day ago (2 children)

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

[–] balsoft@lemmy.ml 4 points 1 day ago

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.

[–] chrand@lemmy.ml 2 points 1 day ago
[–] Dungrad@feddit.org 6 points 1 day ago
[–] lime@feddit.nu 8 points 1 day ago

with the rise of LSP, i feel that ides have become less necessary. get an editor that you like, add an LSP client if there's not one built-in, then install the server for your language.

[–] abominable_panda@lemmy.world 34 points 1 day ago (4 children)

Codium. It's VSCode without the proprietary stuff

[–] yogthos@lemmy.ml 1 points 11 hours ago

I find codium is pretty great overall. It's become my daily driver now.

[–] krigo666@lemmy.world 5 points 1 day ago

Also Eclipse Theia, it has the same interface and functionality and it is compatible with most VSCode extensions (probably over 98% of them?).

[–] slazer2au@lemmy.world 12 points 1 day ago

Beat me to it mate.

Here is the link. https://vscodium.com/

[–] Presi300@lemmy.world 5 points 1 day ago (3 children)
[–] BigTechMustBurn@lemmy.ml 5 points 14 hours ago (3 children)

Zed is full of AI rubbish, though, which is a shame as I was looking for a code editor built with Rust.

[–] toastal@lemmy.ml 2 points 5 hours ago

Rust doesn’t buy you anything interesting in this space.

[–] Presi300@lemmy.world 2 points 7 hours ago (1 children)

Not really, all the AI stuff is off by default and doesn't really nag you all too much...

[–] BigTechMustBurn@lemmy.ml 1 points 1 hour ago

I did find this fork which removes all the AI and telemetry. You’d be surprised how much of it is there.

[–] agelord@lemmy.world 5 points 10 hours ago* (last edited 10 hours ago) (1 children)

You can check out Lapce, which is written in Rust: https://github.com/lapce/lapce

[–] BigTechMustBurn@lemmy.ml 1 points 1 hour ago

Yeah, I have. Seems like development has stalled, though. Last release was 4 months ago and the last commit a month ago.

[–] jia_tan@lemmy.blahaj.zone 1 points 1 day ago (1 children)

As long as it has an integration for your language/framework of choice it’s the best imo

[–] asudox@discuss.tchncs.de 1 points 23 hours ago

Will try, thanks.

[–] rimu@piefed.social 11 points 1 day ago* (last edited 1 day ago) (2 children)

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.

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.

[–] far_university190@feddit.org 5 points 1 day ago

PyCharm community is FOSS

I got started with Spyder when learning python in biochemistry

[–] krigo666@lemmy.world 2 points 1 day ago

Eclipse Theia if you already know VSCode.

It copied the interface and functionality and is compatible with most VSCode extensions. Available as an AppImage on Linux.

[–] MTK@lemmy.world 9 points 1 day ago (1 children)

Honestly, just try a few of the big ones and see what you like, I feel like with IDEs it's all about personal preferences and rarely about actual amount of features.

Good ones to start with can be PyCharm and vscodium, but try a few, that's the best option.

[–] tdawg@lemmy.world 3 points 1 day ago

Ya ime it's mostly about what people are comfortable with. People who care about all the features :tm: go to emacs, people who want to use an instrument stick with vim, and old people use nano

[–] schnurrito@discuss.tchncs.de 6 points 1 day ago (1 children)

For Python definitely PyCharm.

[–] davel@lemmy.ml 7 points 1 day ago* (last edited 1 day ago) (1 children)

Huh, the community edition is Apache 2 licensed. I had assumed it was proprietary freeware.

[–] pastermil@sh.itjust.works 3 points 1 day ago

That's news to me.

[–] InternetCitizen2@lemmy.world 2 points 1 day ago

Netbeans for java was good to me as a student.

[–] Nibodhika@lemmy.world 0 points 1 day ago

For python PyCharm is unbeatable.