Visual Studio Code alternatives for Linux?

MarcellusDrum@lemmy.ml to Open Source@lemmy.ml – 96 points –

While I understand the lack of proper open source alternatives for some software like AutoCAD and After Effects, it always felt weird that the best IDEs/Text Editors are made by big corporations, because you know, these are the tools programmers use.

I tried vim/neovim, which I enjoy using, but I've come to prefer visual editors instead of text based. Kate looks promising, and I'm willing to contribute to it in my free time, but it just has that "amateurish" feel to it that I can't explain.

Anyone aware of other alternatives?

86

Vscodium

This + package to enable VSCode marketplace. The only VSCode features it lacks afaik are out of the box settings sync and remote container development, which colud be substituted with plugins.

EDIT: also be sure to check out Lapce suggested by Yote.zip - it's a banger.

You don't need that when you use NixOS ๐Ÿ˜‹

Any idea how well vscodium runs on macos? Is the performance worde than normal vscode?

Itโ€™s the same code as VScode, just without telemetry, so probably the same or marginally better

I use Codium on both PopOS and MacOSi, it's a bit slow to start, but performance is good, but I don't know how it compares to stock VSCode since I never tested it. But overall I'm very happy with it.

I've been keeping a list of alternatives for a while now that I really like:

  • Pulsar - An actively developed fork of Atom once Microsoft killed it off. Disclosure: I'm on the Pulsar team so I'm more than a little biased here but if you want to get involved we are always after people who want to contribute and we have a very friendly and active Discord server. First thing we did was re-implement the package backend and migrate it so we were able to keep the thousands and thousands of community packages for download.

  • Lite-XL - A really lightweight and fast editor written in C and Lua that is very actively developed. I use this on some less powerful systems.

  • Lapce - Another lightweight and very fast editor written in Rust and is in the middle of moving to their own UI framework. Not that extensible at the moment but supports LSP plugins.

Then for terminal based editors I really like Helix which is vim-like but uses a selection -> action model (like Kakoune). I really like it because it requires almost no configuration.

Thanks for your work on Pulsar. Atom was my go to simple editor before MS killed it off. I'm still fuming now. I really need to try Pulsar :). Been using Kate for now.

Playing around with lite-xl, thanks for the recommendation. Lacks many features for now, but seems to have a huge potential.

I see a lot of potential in Lapce, but sadly the extensions (which are necessary, since it has basically no ootb language support) are very poorly maintained and outdated. Last I used it the Javascript/Typescript support was simply not sufficient for active use. I am very hopeful for Lapce's future though!

Edit: Just checked and the TS/JS extension is still on version 2022.11.0. The code formatting still doesn't work (for me) :(

lite-xl looks promising

the main missing feature imho : being able to search/filter settings, keybindings in particular

Lunarvim

Actually a pretty good on-the-go alternative to GUI IDEs. Always using it to quickly edit configs and scripts.

How does it compare to similar stuff like AstroNvim, SpaceVim, NVChad, etc? I'm trying to choose one but having difficulties ๐Ÿ˜ฅ

I find it significantly better than SpaceVim as they're not relying on EOL'd packages and customization is a bit easier. Defaults are pretty sane and most needed plugins are quick to setup.

Thank you, gonna give it a try! Since I'm new to nvim it would feel good to still have that "semi IDE" feeling, but the ammount of options felt overwhelming ๐Ÿ˜…

I think you are doing nothing wrong with choosing Lunarvim. Anyway, If you ever are unhappy with it, you can pretty much just create your own neovim config.

It's got a pretty good community, you always find some help online. It comes per default only with "needed" plugins, which makes it a pretty nice IDE already. If you ever need more plugins, it's also not complicated to install them,

Good community is always a plus for any project. Thanks for the recommendation!

You could try VSCodium. VS code but less spyware-y

I wouldn't exchange my neovim config for anything. After getting used to how vim works and installing all the plugins I need, I feel like this is my favourite editor. It looks nice and I enjoy using keyboard shortcuts over using a mouse.

That said, the day I lose my neovim config is the day I die. If it disappears I'm doomed

Lapce is an alternative that you can try, though it's self-described as "pre-alpha".

Why on Earth did I read this comment? ๐Ÿฅฒ This app is so painfully fast and crisp! And it has Vim and SSH out of the box. And its own plugin marketplace... Now I have no choice but to suffer every time I open VSCode(ium) in hope that development continues and soon I will have the thing to ditch it for and finally get rid of my allergies to Electron.

People are writing different opinions, but you are right, best IDEs are comercial software.

I think it is just because it takes a lot of time and effort on boring stuff to make this tools smooth. Generally in open source we work on fun parts and leave those boring last 20% unfinished, which is ok with me.l

Neovim + LunarVim is most of what I need for software engineering out of the box. It even has debugger support. Plus it's way faster than VSCode and terminal friendly.

1 more...

My first comment would be that free software made by a corporation is still free software. Like Eclipse, which was originally made by IBM and is a huge ecosystem, especially for "java and friends." So, there is nothing wrong with VS Code(ium). It is a "proper" open source editor and a very good one (I don't use it though - I prefer EMACS).

As for community-base alternatives (which is probably what you mean), you could consider kdevelop or pulsar. There are other alternatives which are equally good and surely one of them will fit your purpose. You mentioned Kate and I can't find anything wrong with it, especially once you start installing the plugins that are relevant to what you do. Same with Gedit.

I heard good things about Geany.

I love geany but it's basically done. The little development that happens is maintenance only. It's great at what it does now, but don't expect any new feature (rip LSP)

If you like Kate you can try Kdevelop. It's the same editor base but a bit more IDE like

I use VSCode myself nowadays, but I have some colleagues who prefer Qt Creator for C++ development (our builds are based on CMake and GCC/CLang). It is open source and not tied to developing with the Qt framework.

I don't understand the meaning of "visual editor" in the context of "text editor". But i can tell you, that i am a happy user of Spacemacs, a distribution of GNU Emacs. Doom Emacs seems also to be pretty popular. One of my favorite emacs packages is the git client "magit": https://video.emacs.ch/w/kFF1N8kveg3eCx86tU6aMW

If you program in Python check out Spyder, some other languages also have specialized IDEs that can be really good.

I alternate between VCCodium and Kate, both are fine to me, but Kate feels snappier since I'm on KDE. It's also less of a resource drain.

I can't manage to make Kate look half descent on Mint (Cinnamon). It does look great on Plasma

Ouch, I can imagine how it feels. I've always been a KDE user, but I've tried other DEs before Since I used lots of KDE stuff (Krita, Kate, KdenLive) I stuck with it.

That's actually an issue with most Debian-/Ubuntu-based distributions, as Debian/Ubuntu still does not package QGnomePlatform. This is preinstalled on Fedora and makes Qt apps, like Kate, look nice on GNOME.

If I remember correctly, Flatpak apps from Flathub are unaffected by this Debian/Ubuntu issue, as Flathub includes QGnomePlatform in their runtimes.

I frequently use Kate as a backup as well. Do you configure it in anyway?

I like to remove the top menu and have the icons to the sidebar. Other than that, I activate a few plugins and keep it pretty vanilla. Most of the default configs are fine to me, and the command bar helps a lot.

i just use vim for everything except debugging, and vscode for debugging

What about JetBrains Fleet? I'm not sure it's open source, but it's free and I think it's a direct competitor to VS Code.

Quoting JetBrains,

Fleet is free to use during the public preview

(emphasis mine)

So it is only temporarily free. Once it's polished it will no longer be free. Better to not get tied in to something that will be taken away from you before long.

Huh, TIL. I never even considered it being paid, because you can't really compete with VS Code with a paid product. If you don't mind paid products, chances are you're already using some of JetBrains IDEs because they are simply miles ahead. Fleet being paid just doesn't make sense. Well, we'll see what they come up with.

You can also justโ€ฆ pay for it? I give money to JetBrains in exchange for incredibly useful tools. Itโ€™s okay to pay for things.

Considering the context of the thread, this isn't really a useful take. They were talking about free software (open source at that). They were warning them it won't be free forever and, seeing as how that is a requirement, then yeah, it would be taken away.

There's no need to be condescending when you're in the wrong conversation with your opinion. No one said you can't pay for things or that it's not ok.

So your high horse isn't needed here.

What a weird take. You're allowed to pay for whatever you'd like. Personally, I can't afford to pay for any JetBrains product, even if I wanted to.

Not only are there alternatives which may be better overall or better suited to someone's needs, that wasn't even my point. My point was more that it is only temporarily free, and so the parent commenter's comment of "it's free" should be taken with a grain of salt if you're considering the product.

Moreover, we're in the Open Source community: Fleet is neither free nor open source, and pointing that out here is relevant.

Now it absolutely isn't open source or even free, so if that is a must feel free to ignore me, but I personally do still really like using Sublime. Once you install SublimeLSP I find it genuinely really clean to work with. And even though it's technically not free, you can use its free trial version for as long as you want (with the only drawback being an annoying popup), if you do buy it it's a one-time payment, not a subscription, and the package eco system is mostly open source (SublimeLSP e.g. is open source).

Again, not free, but much faster, more light weight and imo cleaner than VSCode, and definitely not very corpo given the rather small size of Sublime HQ.

Iโ€™ve used sublime for over a decade and simply cannot stand how slow other editors are in comparison. Searching, jumping between files, etc is all just as fast one our huge production codebase as they are on my tiny personal projects. Itโ€™s insane

I use Atom for personal projects and Sublime for work - it's shocking how fast Sublime loads up in comparison.

Hopefully Atom's successor can address the performance issues, by the other comment threads here it looks like Pulsar is a contender

I agree with all this except the "one time payment" is only good for three years of updates.

I like KDevelop or Gnome Builder for KDE or Gnome, respectively. If youโ€™re okay with proprietary IDEs, the ones from Jetbrains generally work well and can be installed via Flathub. I honestly prefer them to VSCode or Atom.

EDIT: Gnome Builder supports containers, so itโ€™s perfect for immutable operating systems like Fedora Silverblue. It can be a bit buggy, however.

I am on the path VSCodium --> Lapce under NixOS for visual editors and to decorporate my workflow. i.e. away from VSCode which is [otherwise] exceptional.

However, Helix looks incredible.