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.

  • utopiah@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    2 hours 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.

  • Eugenia@lemmy.ml
    link
    fedilink
    English
    arrow-up
    26
    arrow-down
    1
    ·
    edit-2
    1 day ago

    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.worldOP
      link
      fedilink
      arrow-up
      16
      arrow-down
      1
      ·
      17 hours ago

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

      Your husband is an absolute legend.

  • Kazumara@discuss.tchncs.de
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    1 day ago

    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.

    • Captain Beyond@linkage.ds8.zone
      link
      fedilink
      arrow-up
      1
      ·
      1 hour ago

      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.

      • Kazumara@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        ·
        58 minutes 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.

    • Telorand@reddthat.com
      link
      fedilink
      arrow-up
      4
      ·
      1 day 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)

  • Luna@lemdro.id
    link
    fedilink
    English
    arrow-up
    10
    ·
    1 day ago

    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
      link
      fedilink
      arrow-up
      4
      ·
      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.

  • lime!@feddit.nu
    link
    fedilink
    English
    arrow-up
    8
    ·
    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.

  • Rimu@piefed.social
    link
    fedilink
    English
    arrow-up
    12
    ·
    edit-2
    2 days ago

    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.

    • Captain Beyond@linkage.ds8.zone
      link
      fedilink
      arrow-up
      2
      ·
      1 hour 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.

  • krigo666@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    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.