this post was submitted on 17 Dec 2024
84 points (95.7% liked)

Linux

48700 readers
1800 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.

top 50 comments
sorted by: hot top controversial new old

I'd say VSCodium, Kate or Vim. VSCodium if you want something like VSCode, Kate for just an absolutely amazing IDE or Vim if you want to try something new.

[–] leastprivilege@lemmy.ml 7 points 6 days ago (1 children)

Neovim! Here is a good video to get started TJ DeVries. If you just want to give it a shot there are a lot of preconfigured options like lunar vim or NVchad.

[–] Urist@lemmy.ml 1 points 4 days ago

LunarVim is dead I think. In the issues section the (main?) dev says they recommend switching to something else and that they have gone over to Astronvim.

[–] tapdattl@lemmy.world 6 points 6 days ago

I'm a big fan of vim/neovim with nerdtree and airline added in.

I've also been tryingourt Zed recently, it natively supports vim keybindings, so my workflow hasn't changed, but its lightning fast (programmed in rust) compared to vs-codium (an electron app)

[–] Ziglin@lemmy.world 4 points 6 days ago (1 children)

I'm slowly learning Emacs, I'd say I like it but it's a lot of config work and I wouldn't recommend it to somebody who hasn't programmed before.

[–] conrad82@lemmy.world 1 points 4 days ago

I agree. I learned and used emacs and org mode for several years. With age, I now want simpler tools that do not need extensive configuration. Using mainly Spyder and VS Code for python coding

[–] mvirts@lemmy.world 3 points 6 days ago (2 children)

It pains me to admit this but VSCodium has become my de facto standard

https://vscodium.com/

[–] data1701d@startrek.website 2 points 4 days ago

Agree. Codium goes brrrr, honestly.

[–] QuazarOmega@lemy.lol 2 points 6 days ago

Don't be ashamed, I think a lot here secretly like it, it's just very extensible because so many use it in the form of VSCode and it's just great for what it is, despite being Microsoft's for all intents and purposes

[–] abominable_panda@lemmy.world 42 points 1 week ago (5 children)

Codium. It's VSCode without the proprietary stuff

[–] slazer2au@lemmy.world 16 points 1 week ago

Beat me to it mate.

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

load more comments (4 replies)
[–] eugenia@lemmy.ml 34 points 1 week ago* (last edited 1 week ago) (2 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).

[–] QuazarOmega@lemy.lol 2 points 6 days ago

without strings attached

How does he read??

[–] SpiceDealer@lemmy.world 26 points 1 week ago

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

Your husband is an absolute legend.

[–] hamburger@discuss.tchncs.de 27 points 1 week ago (1 children)
[–] nullstreamer@feddit.org 18 points 1 week ago (13 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.

[–] communism@lemmy.ml 1 points 6 days ago

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.

load more comments (12 replies)
[–] 2kool4idkwhat@lemdro.id 17 points 1 week ago (6 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

[–] slowbyrne@lemm.ee 4 points 6 days ago (1 children)

I use Yazi and its amazing. Here's their docs on how to set it up as a file picker in helix.

https://yazi-rs.github.io/docs/tips/#helix-with-zellij

[–] sntx@lemm.ee 1 points 6 days ago

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

https://www.youtube.com/watch?v=X9_z_gynvmM

[–] sntx@lemm.ee 1 points 6 days ago

I came to the conclusion that a fuzzy finder (SPC-f) + goto definition (g-d)/implementation (g-i) is better than a filetree in all my usecases...

load more comments (4 replies)
[–] Kazumara@discuss.tchncs.de 15 points 1 week ago* (last edited 1 week ago) (3 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.

[–] beyond@linkage.ds8.zone 2 points 6 days ago (2 children)

One of my professors said you don’t need an IDE, the Linux system already is a development environment.

Considering "the Linux system" is literally anything you throw on top of the kernel called Linux, it can be a development environment or anything you want it to be. But I think part of the appeal of an IDE is how all the parts integrate (the "I" in "IDE") so a bunch of packages thrown together might not provide the same cohesive feeling.

[–] communism@lemmy.ml 4 points 6 days ago

Considering “the Linux system” is literally anything you throw on top of the kernel called Linux, it can be a development environment or anything you want it to be.

I'd just like to interject for a moment...

[–] Kazumara@discuss.tchncs.de 2 points 6 days ago

Considering “the Linux system” is literally anything you throw on top of the kernel called Linux, it can be a development environment or anything you want it to be.

Yeah I thought about the same thing when posting, if anything it would have to be the the combination of tools available on Linux. Like GNU binutils, GCC, GNU emacs, GDB, Git. But that's how I remember him saying it. Either my memory is wrong, or he just wasn't that precise in his language.

But I think part of the appeal of an IDE is how all the parts integrate (the “I” in “IDE”) so a bunch of packages thrown together might not provide the same cohesive feeling.

I agree, it may not be what you want if you're looking for an IDE.

But, like me back then, if you're new to the Linux ecosystem, it's good to hear at least once that you don't strictly need to look for an IDE. And that you can instead use disparate CLI tools together, to make for an experience that some people end up preferring.

load more comments (2 replies)
[–] rimu@piefed.social 14 points 1 week ago* (last edited 1 week ago) (3 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.

[–] beyond@linkage.ds8.zone 4 points 6 days ago

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.

[–] far_university190@feddit.org 7 points 1 week ago

PyCharm community is FOSS

load more comments (1 replies)
[–] 737@lemmy.blahaj.zone 10 points 1 week ago

vim/nvim is really great

[–] lime@feddit.nu 10 points 1 week 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.

[–] manito_manopla@lemmy.ml 9 points 1 week ago
[–] MTK@lemmy.world 9 points 1 week 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.

load more comments (1 replies)
[–] Dungrad@feddit.org 7 points 1 week ago (1 children)
[–] badbytes@lemmy.world 1 points 6 days ago

Yeah, geany is a simple and effective IDE. I chose to use vim with syntax highlighting.

load more comments
view more: next ›