There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

IDE/Text Editor Recommendations for Go Development on Linux

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!

Presi300 ,
@Presi300@lemmy.world avatar

By chimera Linux, do you mean the gaming one or this one?

Just curious

fernlike3923 OP ,
@fernlike3923@sh.itjust.works avatar

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 ,
@Presi300@lemmy.world avatar

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

fernlike3923 OP ,
@fernlike3923@sh.itjust.works avatar

Yup! The handbook is here.

Presi300 ,
@Presi300@lemmy.world avatar

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.

fernlike3923 OP ,
@fernlike3923@sh.itjust.works avatar

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.

unn ,

Helix or GNU Emacs, you can’t go wrong

KindaABigDyl ,
@KindaABigDyl@programming.dev avatar

You can use VS Code and Vim/Neovim for any language, as well as document writing and basic text editing. Just search for Go plugins

It shouldn’t be hard to use either. If it is, you’re doing something wrong probably

possiblylinux127 ,

I use VIM but I am not a Go developer

EmasXP ,

There’s also LiteIDE

Boxscape ,
@Boxscape@lemmy.sdf.org avatar

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

namingthingsiseasy ,

+1, I would recommend neovim with lazyvim. The documentation is excellent, and it’s very easy to set up.

www.lazyvim.org/installation

thayer , (edited )

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.

rwdf ,

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

hasecilu ,
@hasecilu@lemm.ee avatar

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!

4vr ,

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.

greywolf0x1 ,

If you don’t mind, can you share your helix config?

4vr ,

Sure. gist.github.com/…/18cd6f8b0b059073460f0f3c322b893…

Includes both config & languages config.

greywolf0x1 ,

much appreciated, I just can’t seem to get mine setup right

murtaza64 ,

I think neovim with kickstart has out-of-the-box support for go, or if not, should be configurable with two added lines (add the treesitter parser and LSP). Unlike nvchad and lunarvim and stuff, this is not a “distribution” of neovim but a good starting point for a config that makes it easy to slowly learn how to add stuff and change stuff as you see fit.

At the beginning, you can add languages that you need support for pretty easily by adding to a list of LSPs and Treesitter parsers that should be installed; later on you can start adding and configuring plugins as you wish.

I’d say it sets you up about the same level as Helix or a little less than VSCode.

Daeraxa ,

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.

emax_gomax ,

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.

EarthShipTechIntern ,

Atom?

emax_gomax ,

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

EarthShipTechIntern ,

I’m out of the loop. Thanks for filling me in.

Daeraxa ,

Yes and no. The original project is dead but we forked it and continue to maintain and improve it as Pulsar

Daeraxa ,

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

nous ,

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 ,

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 ,

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.

henfredemars ,

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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines