this post was submitted on 17 Dec 2024
82 points (95.6% liked)

Linux

49059 readers
1085 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
[–] abominable_panda@lemmy.world 42 points 1 month ago (5 children)

Codium. It's VSCode without the proprietary stuff

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

Beat me to it mate.

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

[–] krigo666@lemmy.world 6 points 1 month ago

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

[–] yogthos@lemmy.ml 3 points 1 month ago

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

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

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

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

Your husband is an absolute legend.

[–] QuazarOmega@lemy.lol 2 points 4 weeks ago

without strings attached

How does he read??

[–] hamburger@discuss.tchncs.de 23 points 1 month ago (1 children)
[–] nullstreamer@feddit.org 16 points 1 month ago (2 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 5 points 1 month ago (10 children)

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

load more comments (10 replies)
load more comments (1 replies)
[–] 2kool4idkwhat@lemdro.id 16 points 1 month ago (4 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 5 points 1 month ago (2 children)

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.

load more comments (2 replies)
[–] slowbyrne@lemm.ee 4 points 1 month 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

load more comments (1 replies)
[–] chrand@lemmy.ml 3 points 1 month ago
load more comments (1 replies)
[–] Kazumara@discuss.tchncs.de 14 points 1 month ago* (last edited 1 month ago) (4 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 5 points 1 month ago (1 children)

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)

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

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

PyCharm community is FOSS

[–] beyond@linkage.ds8.zone 4 points 1 month 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.

load more comments (1 replies)
[–] lime@feddit.nu 10 points 1 month 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.

[–] MTK@lemmy.world 9 points 1 month 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 month 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

[–] 737@lemmy.blahaj.zone 9 points 1 month ago

vim/nvim is really great

[–] manito_manopla@lemmy.ml 9 points 1 month ago
[–] Dungrad@feddit.org 7 points 1 month ago (1 children)
load more comments (1 replies)
[–] leastprivilege@lemmy.ml 6 points 4 weeks 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.

load more comments (1 replies)
[–] Presi300@lemmy.world 6 points 1 month ago (4 children)
[–] BigTechMustBurn@lemmy.ml 5 points 1 month ago (4 children)

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

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

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

load more comments (1 replies)
[–] Presi300@lemmy.world 3 points 1 month 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 2 points 1 month ago (1 children)

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

load more comments (1 replies)
[–] toastal@lemmy.ml 3 points 1 month ago

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

[–] theamazing0@discuss.tchncs.de 2 points 4 weeks ago (1 children)

It's not too hard to disable all of it

{
  // Disable Telemetry
  "telemetry": {
    "metrics": false,
    "diagnostics": false
  },
  // Disable Assistant:
  "assistant": {
    "enabled": false,
    "button": false,
    "version": "2"
  },
  // Disable Copilot:
  "features": {
    "inline_completion_provider": "none"
  },
  // Disable Collaboration Features:
  "collaboration_panel": {
    "button": false
  },
  "chat_panel": {
    "button": false
  },
  "notification_panel": {
    "button": false
  }
}
load more comments (1 replies)
load more comments (3 replies)
[–] schnurrito@discuss.tchncs.de 6 points 1 month ago (1 children)

For Python definitely PyCharm.

[–] davel@lemmy.ml 8 points 1 month ago* (last edited 1 month 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 month ago

That's news to me.

[–] tapdattl@lemmy.world 6 points 4 weeks 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 4 weeks 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.

load more comments (1 replies)
[–] utopiah@lemmy.ml 4 points 1 month ago* (last edited 1 month ago)

Because people ask for an IDE, rather than an editor, I will say :

Vim + terminal(s) + containerization (e.g. Docker CLI, Python venv) + live reloading (e.g. nodemon or inotify or in the browser using e.g. server side events) + repository management (e.g. git in CLI to juggle between branches, push/pull local/remotely)

IMHO this is very VERY light (0 wait even on a RPi Zero) and yet very flexible.

Also most of that can be "saved" via e.g screen the CLI tool, allowing to have named windows in a terminal and a lot more than to e.g. screen -raAD, locally or remotely.

[–] InternetCitizen2@lemmy.world 3 points 1 month ago

Netbeans for java was good to me as a student.

[–] mvirts@lemmy.world 3 points 4 weeks ago (2 children)

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

https://vscodium.com/

[–] QuazarOmega@lemy.lol 2 points 4 weeks 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

load more comments (1 replies)
[–] learnbyexample@programming.dev 3 points 1 month 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 3 points 1 month ago

@SpiceDealer I use Emacs as an IDE for Python.

[–] krigo666@lemmy.world 2 points 1 month 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.

load more comments
view more: next ›