contradictioned/areweideyet

Add Atom IDE package?

Closed this issue · 3 comments

Pfeil commented

I wonder if there is a reason not to mention ide-rust for atom yet?

While the currently described packages are working and still an option, there are new possibilities. Atom has now support for so called ide packages based on the language server protocol. There is a pretty good ide-rust package. It has the limitations of rls, including missing/limited support for examples. It does support documentation tooltips and does not really work well together with linter packages, since it replaces them and displays errors in a dedicated ui element. While it's a bit ugly, it should be possible to use them together, though.

Except for the ide-rust package you need language-rust so Atom knows the language and can show the rust IDE. I also use it together with cargo-build. You get a pretty neat IDE using these three packages only, and I thing it's worth mentioning.

So to understand this correctly: You install atom-ide-ui and then ide-rust in order to get a special view for rust editing?

Pfeil commented

Basically, yes. Actually you only need to install ide-rust and it will tell you that it also needs to install atom-ide-ui as a dependency. It's getting as much as it can out of rls and the official atom-ide-ui. It basically looks like the video on the atom ide website ( https://ide.atom.io/ ) shows. It works pretty good, as long as rls does. It will also install rls in the background if it is not installed in the toolchain selected in the settings of ide-rust.

PS: Adding the package would also mean to make a tick at Documentation Tooltips for Atom.

I used to install a few packages for Rust on Atom. Now I just install RLS on my system and ide-rust on Atom. Much simpler