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!

Samueru ,

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 OP ,
@fernlike3923@sh.itjust.works avatar

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 ,

That’s interesting that it doesn’t work, iirc the biggest difference of chimera is that it uses musl like alpine does.

https://lemmy.ml/pictrs/image/41424822-3bc9-4a05-95c6-0ee3fcc533d9.png

Can you extract the appimage with –appimage-extract flag and run the AppRun that’s inside of it directly? Or that also fails?

Isn’t lite-xl in your distro repo?

Samueru ,

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.

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

Installing gcompat worked and Lite-XL is running now. Thanks!

uzay ,
  • 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 ,

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.

kata1yst ,

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.

rjek ,

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.

solrize ,

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 ,

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%.

Unreliable ,

I thought Emacs was an OS? 😏

TootSweet ,

What do you want an IDE to do (that a straight-up text editor wouldn’t?)

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

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

adespoton ,

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 OP ,
@fernlike3923@sh.itjust.works avatar

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

adespoton ,

I’ve been using vim/GVim for over 30 years; with only minimal tweaks I’ve used it with maybe 15 different programming languages/compilers, a few of which needed custom configurations written to do anything useful.

While everyone else is struggling to get on with the IDE du jour, I just get stuff done without having to learn anything new other than a new syntax and library set.

cisco87 ,

Try Kate

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

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.

myersguy ,

Doesn’t Kate have its own theme options?

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

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

leopold ,

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

communism ,
@communism@lemmy.ml avatar

can’t exactly change the QT theme in a supported way

Can’t you use qt5ct/qt6ct?

Feyd ,

I like kate in general but I can’t seem to get it to use semantic highlighting with gopls

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