16
submitted 1 year ago* (last edited 1 year ago) by TheBaldness@beehaw.org to c/programming@beehaw.org

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.

top 14 comments
sorted by: hot top controversial new old
[-] SirMino@feddit.it 14 points 1 year ago

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

[-] midas@ymmel.nl 7 points 1 year ago

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

[-] insomniac_lemon@kbin.social 6 points 1 year ago* (last edited 1 year ago)

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.

[-] Glome@kbin.social 1 points 1 year ago

Wow I had no idea Kate had support for LSP after using plasma distros for years. I always assumed it was a basic text editor and used vim instead.

[-] zexu@lemmy.ml 6 points 1 year ago

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.

[-] Mike_@lemmy.ca 5 points 1 year ago* (last edited 1 year ago)

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.

[-] PancakeFriday@beehaw.org 4 points 1 year ago

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.

[-] exohuman@kbin.social 4 points 1 year ago* (last edited 1 year ago)

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.

[-] PM_ME_VINTAGE_30S@vlemmy.net 9 points 1 year ago

If you need to use VS Code, download VS Codium instead. The product offered by Microsoft is licensed under a not-FOSS license, even though the vscode source is FOSS. More importantly, VS Code sends tracking and telemetry data to Microsoft!

[-] stilgar@infosec.pub 4 points 1 year ago

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

[-] Gryzor@lemmyfly.org 4 points 1 year ago* (last edited 1 year ago)

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/

[-] acow@programming.dev 3 points 1 year ago

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

[-] Hellebert@beehaw.org 1 points 1 year ago

I wish Geany had LSP support.

load more comments
view more: next ›
this post was submitted on 24 Jun 2023
16 points (100.0% liked)

Programming

13361 readers
8 users here now

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.

founded 1 year ago
MODERATORS