I’m a hobbyist programmer, mostly in JavaScript, but I’d like to learn Rust. I’d like to use an open-source IDE that supports Language Server Protocol. I’m currently using WebStorm, which is not open-source, and doesn’t support LSP. I’ve checked out VS Codium, which is open-source and does support LSP, but it seems like it’s a hobbled version of VS Code that still phones home to Microsoft.

Are there and other IDEs that are FOSS and that support LSP?

Edit: Thanks everybody. I’m taking the path of least resistance and sticking with Webstorm and IntelliJ.

exohuman
link
fedilink
11Y

I use Visual Studio Code mostly when I code. I have also used CLion with the Rust plugin https://www.jetbrains.com/rust/
It’s not really FOSS since it has a subscription cost.

@Mike_@lemmy.ca
link
fedilink
3
edit-2
1Y

Neovim works well for me. If you want to get some IDE-like features out of the box you can try AstroNvim https://github.com/AstroNvim/AstroNvim. I also use rust-tools for some extra features: https://github.com/simrat39/rust-tools.nvim. Customizing Neovim might be scary at first, but there are lots of resources to learn from and you can basically do anything you want with it.

I’ve been using lunarvim, I haven’t had to make any changes for the past year. I’m liking it, simply because before with vim I never quite got it to a point where I was 100% happy with it. Of course it’s great that the cusomizability exists.

Midas
link
fedilink
31Y

An IDE is one of those things that earns itself back very quickly imo. If I compare my hourly rate to what a yearly subscription of intellij costs it’s a no-brainer

It’s on the lighter side, but Kate supports LSP. I’ve used it with a different compiled language (I didn’t do much, but did have different compilation commands). Also note that I don’t actually use KDE so that has nothing to do with it.

zexu knub
link
fedilink
21Y

Install Neovim along with the LazyVim You’ll get almost everything configured.

Maybe that’s what I should do. I’ve just recently moved back to VS Code from Neovim due to my constant issues with the LSP I was using. I would open a file, make some changes, and then return to the file tree along with a bunch of LSP warnings (as if the file tree was a file). LazyVim sounds like exactly what I want, if the name is accurate.

@Gryzor@lemmyfly.org
link
fedilink
2
edit-2
1Y

Not and IDE but if you’re starting up, the Helix editor works well with rust. Bear in mind that it lacks some features of a full fledged IDE and even things neovim and kakoune already do, but it’s a slight different approach and I’m loving it.

https://helix-editor.com/

Emacs with lsp-mode is my preferred environment for Rust development!

If you’re really keen on a FOSS setup you may need to go terminal based, I haven’t tried this setup but it looks good

https://www.youtube.com/watch?v=mh_EJhH49Ms

Vscode (and vscodium) is not really an IDE but an advanced and extensible text editor. You know what is also an advanced and extensible text editor? Neovim

Create a post

All things programming and coding related. Subcommunity of Technology.


This community’s icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

  • 1 user online
  • 2 users / day
  • 2 users / week
  • 8 users / month
  • 98 users / 6 months
  • 1 subscriber
  • 302 Posts
  • 2.15K Comments
  • Modlog