mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
minor: fix typos
This commit is contained in:
parent
237ffa3997
commit
c533ac3573
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
|||
//! applied. So, the relation between syntax and HIR is many-to-one.
|
||||
//!
|
||||
//! HIR is the public API of the all of the compiler logic above syntax trees.
|
||||
//! It is written in "OO" style. Each type is self contained (as in, it knows it's
|
||||
//! It is written in "OO" style. Each type is self contained (as in, it knows its
|
||||
//! parents and full context). It should be "clean code".
|
||||
//!
|
||||
//! `hir_*` crates are the implementation of the compiler logic.
|
||||
|
|
|
@ -589,7 +589,7 @@ Try **rust-analyzer: Show RA Version** in VS Code (using **Command Palette** fea
|
|||
If the date is more than a week ago, it's better to update rust-analyzer version.
|
||||
|
||||
The next thing to check would be panic messages in rust-analyzer's log.
|
||||
Log messages are printed to stderr, in VS Code you can see then in the `Output > Rust Analyzer Language Server` tab of the panel.
|
||||
Log messages are printed to stderr, in VS Code you can see them in the `Output > Rust Analyzer Language Server` tab of the panel.
|
||||
To see more logs, set the `RA_LOG=info` environment variable, this can be done either by setting the environment variable manually or by using `rust-analyzer.server.extraEnv`, note that both of these approaches require the server to be restarted.
|
||||
|
||||
To fully capture LSP messages between the editor and the server, set `"rust-analyzer.trace.server": "verbose"` config and check
|
||||
|
|
Loading…
Reference in a new issue