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!

  • thayer@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    3 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.

    • fernlike3923@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      0
      ·
      3 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.

  • Em Adespoton@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    3 months ago

    GVim is available pretty much everywhere? And it’s infinitely customizable.

    It does have a learning curve, but then you get to use that knowledge for the rest of your life.

    • fernlike3923@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      3 months ago

      I’m going to have to take a look at that tomorrow since it has become pretty late here. Although thanks for the suggestion!

  • solrize@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    3 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.

    • corsicanguppy@lemmy.ca
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 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%.

  • 4vr@lemmy.ca
    link
    fedilink
    தமிழ்
    arrow-up
    0
    ·
    3 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.

  • rjek@feddit.uk
    link
    fedilink
    arrow-up
    0
    ·
    3 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.

  • Samueru@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    I use lite-xl, it has been very good, but I’m not a Go developer though.

    They also release an appimage and I just did a quick test on a alpine container and it works, so it should work on Chimera as well.

    • fernlike3923@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      0
      ·
      3 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?

      • Samueru@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        3 months ago

        nvm I just noticed that the issue is that I had the gcompat package installed in alpine, which fixes that issue you just had, I don’t know if chimera has something similar to it.

  • rwdf@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    I use Neovim, specifically LazyVim. It’s super easy to get up and running with Go.

    • hasecilu@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

      I really love how LazyVim have support for a lot of languages as Extras. Once I needed Go formatting so, installed Go extra, restarted NeoVim and all was ready, in less than a minute!

  • Boxscape@lemmy.sdf.org
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    You could consider something like LazyVim installed on top of Nvim so you don’t have to configure it from scratch.

  • uzay@infosec.pub
    link
    fedilink
    arrow-up
    0
    ·
    3 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.

    • Zangoose@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      3 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.

    • fernlike3923@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      0
      ·
      3 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.

  • henfredemars@infosec.pub
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 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.

  • nous@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 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.

    This is the reason I switched to helix. Comes out the box with what you would expect so you dont need 10s of plugins and 100s of lines of config to get a base line experience.

    • theshatterstone54@feddit.uk
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      3 months ago

      Yeah, but what happens when you’re too used to using Emacs with evil mode, vi mode in the shell, and (neo)vim for a long time? And now you have to start using helix and its own bindings. If there was a helix with full vim bindings (and plugins, for custom themes) support, I’d probably be using it right now.

      • nous@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        3 months ago

        I did not find it very had to relearn the difference in bindings. Quite a lot are actually the same but one big difference is the selection before action rather than vims movement then action. Which IMO I find the helix way nicer after using it for a while. Never really lost the ability to use vim either and I can switch between them with relative ease. Though I do miss the helix way of working when I am forced to use vi input on things.

    • fernlike3923@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

      I just need something that supports gopls and some basic features such as syntax highlighting, reasonable indents, code-completion etc.