Hello! My question is basically what the title says. I’m searching for an IDE/text editor for Go development and am wondering if anybody knows an alternative to these. Here is the list of software I tried:

  • I’ve tried NeoVim but I really don’t want to waste time doing text-based configuration and messing with extensions just to get some basic features working.

  • I tried VSCodium but it doesn’t exist in my system software repositories (I’m currently on Chimera Linux), and the flatpak version can’t run any system commands.

  • GoLand and Sublime Text are proprietary & paid.

It seems the market for IDEs is pretty small, so I wouldn’t really be surprised if nothing existed that fit these criteria, but thanks for any answers in advance!

Edit: I’ve settled with Lite-XL which seems to be a great editor. Thanks for all of your great recommendations!

  • @[email protected]
    link
    fedilink
    English
    12
    edit-2
    10 months ago

    Distrobox will resolve your issue with VSCode and then some. Run archlinux, debian or whatever you want as a container. Then, install VSCode/VSCodium (and any other apps that Chimera lacks) inside the container OS. This will keep your development environment containerized and safely away from your host OS.

    • FernlikeOP
      link
      fedilink
      19 months ago

      I meant the latter. I don’t really like systemd and I loved FreeBSD for its simplicity but also can’t use it on bare metal because of a lack of drivers, so this seemed like a great option.

      • Presi300
        link
        fedilink
        English
        19 months ago

        Wow, it’s actually daily driveable? Mind linking me the installation docs, I can’t seem to find em…

          • Presi300
            link
            fedilink
            English
            19 months ago

            Damn, I’m amazed at how pain-free the whole installation/setup process is. Everything sorta just worked. Though, I’m struggling a bit, trying to make zram service with dinit.

            • FernlikeOP
              link
              fedilink
              19 months ago

              I didn’t setup zram but just went for a swap partition and specified it in fstab, so I’m not sure how that works really. There are a few issues open in GitHub about it but there seems to be no activity on them.

  • @[email protected]
    link
    fedilink
    910 months ago

    Just use vscode. It’s basically the standard text editor for everything nowadays. Eventually you may want to start exploring vim/emacs but no reason to prioritise that now when all you need is something you can write code in that gives you squigglies when you do something wrong.

  • @[email protected]
    link
    fedilink
    1510 months ago

    I found emacs to be perfectly fine. Didn’t need an IDE. Go compiler then was astoundingly fast–instant builds, basically. I think newer Go compilers are slower but generate better code. It would be nice to have a compile time flag to turn the slow optimizations on and off, like C compilers have.

    • @[email protected]
      link
      fedilink
      English
      49 months ago

      Didn’t need an IDE.

      That’s actually considered an IDE.

      And, these days, runs leaner than vi for single-file editing from a dead start. It’s weird but it’s true by like 1%.

    • FernlikeOP
      link
      fedilink
      29 months ago

      lite-xl seems very interesting, but sadly I wasn’t able to launch it on Chimera Linux (I get the error cannot execute command "./LiteXL-v2.1.5-x86_64.AppImage": No such file or directory on any shell I try to launch it with). Is this a simple problem I can fix, or should I run it with Distrobox?

  • Daeraxa
    link
    fedilink
    16
    edit-2
    10 months ago

    Pulsar is a fork of Atom under active development. We don’t publish a flatpak (yet) but there is a community maintained flatpak for it.

    Otherwise if you want to look at something else I’d give Lite XL, Lapce or even Zed (it has now been open sourced and looks like it has a flatpak available) a look as interesting alternatives.

  • @[email protected]
    link
    fedilink
    தமிழ்
    1910 months ago

    Zed now has Linux support.

    And then helix editor works with Go LSP, this is my current daily driver. Even without plugins, helix works better and manageable than vim/emacs. Only thing that doesn’t work is debugger.

  • @[email protected]
    link
    fedilink
    English
    1210 months ago

    Why not just download a binary and/or make your own binary from the vscodium github page?

    They’ve got a ton of statically linked ones to chose from that should be simple to just untar and run.

    • FernlikeOP
      link
      fedilink
      310 months ago

      I would really prefer getting the text editor from flatpak or the system package manager for auto-updates, though I’m not sure if the binaries you mention also get auto-updates.

      • @[email protected]
        link
        fedilink
        English
        510 months ago
        1. Install nix.
        2. nix profile install nixpkgs#vscodium
        3. nix profile upgrade ‘.*’

        Won’t auto update but you could add the upgrade command to a login script or something.

        Won’t lie, nix has a high learning curve to get the most out of it, but installing a single app is pretty simple.

  • @[email protected]
    link
    fedilink
    English
    910 months ago

    I enjoy VSCode mixed with some Sublime (employer-provided) and Vim in some tmux terminal windows, but I tend to be an oldschool developer who doesn’t really ask for much beyond good syntax highlighting. YMMV.

    • FernlikeOP
      link
      fedilink
      110 months ago

      I’m currently using Gnome and can’t exactly change the QT theme in a supported way, so Kate is stuck in a light theme. Using Kvantum makes it look like a mix of light and dark theme in a really bad way.

      The GTK alternative Geany also doesn’t work well since it’s also sadly stuck in a constant light theme.

        • FernlikeOP
          link
          fedilink
          210 months ago

          I can only change the text editor’s theme but not the UI’s.

          • @[email protected]
            link
            fedilink
            29 months ago

            Yes you can. UI color is in Settings -> Window Color Scheme. Editor color is in Settings -> Editor Color Scheme. Both are editable separately.

  • @[email protected]
    link
    fedilink
    710 months ago
    • I’ve tried NeoVim but I really don’t want to waste time doing text-based configuration and messing with extensions just to get some basic features working.

    Have you tried any of the premade Neovim configurations like Lunarvim or NvChad?

    Apart from that maybe something can be done with vscodium in a distrobox container or something, I haven’t looked much into that.

    • @[email protected]
      link
      fedilink
      210 months ago

      I used lunarvim until I was comfortable enough to use my own neovim setup, can confirm this it is generally a good way to go about doing vim setups.

  • @[email protected]
    link
    fedilink
    210 months ago

    Try Lunarvim. It’s NeoVim, but ships as a fully functional IDE with easy customization if needed. Honestly I basically just changed the theme, font, and added a preview scrollbar.

    Blazingly fast, extremely functional, endless customization if desired.

  • @[email protected]
    link
    fedilink
    310 months ago

    Helix. It’s modal like Vim but the defaults just work, and a quick “hx --health” will list every mode and what package you need to install for the language server.

    • @[email protected]
      link
      fedilink
      410 months ago

      Is that still being recommended? Last I heard it was eol, no longer getting feature changes or improvements and was basically superceded by vscode.

    • Daeraxa
      link
      fedilink
      610 months ago

      Pulsar is the current maintained fork of that project, we forked it before it got shut down and are actively developing it,