Rust language support for Atom-IDE, powered by rust-analyzer.
rustc
)ctrl
or cmd
click)ctrl
or cmd
for more information)ctrl-alt-shift-f
or cmd-opt-shift-f
also in context menu)ctrl-shift-c
or cmd-shift-c
also in context menu)atom-ide-ui
settings)Install from Settings view by searching for ide-rust
, or with the command line:
$ apm install ide-rust
rust-analyzer must be installed manually, if possible on the PATH (otherwise configure this in the package settings). See https://rust-analyzer.github.io/manual.html#rust-analyzer-language-server-binary.
No other packages or manual setup is required as these will be handled with user prompts after install.
However, you may wish to install rustup
with your OS package manager instead of following prompts to install via rustup.rs.
ide-rust:restart-all-language-servers
Restart all currently active Rls processesIf stuff isn't working you can try enabling logging to debug:
atom.config.set('core.debugLSP', true)
This will spit out language server message logging into the atom console. Check if requests/responses are being sent or are incorrect. It will also include any Rls stderr messages (as warnings) which may point to Rls bugs.
RLS is no longer supported. To use RLS install a previous version of ide-rust, apm install ide-rust@0.21.2
.
MIT License. See the license for more details.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.