@@ -17,7 +17,7 @@ All contributors are expected to follow the [Rust Code of Conduct].
17
17
- [ High level approach] ( #high-level-approach )
18
18
- [ Finding something to fix/improve] ( #finding-something-to-fiximprove )
19
19
- [ Getting code-completion for rustc internals to work] ( #getting-code-completion-for-rustc-internals-to-work )
20
- - [ IntelliJ Rust ] ( #intellij-rust )
20
+ - [ RustRover ] ( #rustrover )
21
21
- [ Rust Analyzer] ( #rust-analyzer )
22
22
- [ How Clippy works] ( #how-clippy-works )
23
23
- [ Issue and PR triage] ( #issue-and-pr-triage )
@@ -92,22 +92,22 @@ an AST expression).
92
92
93
93
## Getting code-completion for rustc internals to work
94
94
95
- ### IntelliJ Rust
96
- Unfortunately, [ ` IntelliJ Rust ` ] [ IntelliJ_rust_homepage ] does not (yet?) understand how Clippy uses compiler-internals
95
+ ### RustRover
96
+ Unfortunately, [ ` RustRover ` ] [ RustRover_homepage ] does not (yet?) understand how Clippy uses compiler-internals
97
97
using ` extern crate ` and it also needs to be able to read the source files of the rustc-compiler which are not
98
98
available via a ` rustup ` component at the time of writing.
99
99
To work around this, you need to have a copy of the [ rustc-repo] [ rustc_repo ] available which can be obtained via
100
100
` git clone https://github.com/rust-lang/rust/ ` .
101
101
Then you can run a ` cargo dev ` command to automatically make Clippy use the rustc-repo via path-dependencies
102
- which ` IntelliJ Rust ` will be able to understand.
102
+ which ` RustRover ` will be able to understand.
103
103
Run ` cargo dev setup intellij --repo-path <repo-path> ` where ` <repo-path> ` is a path to the rustc repo
104
104
you just cloned.
105
105
The command will add path-dependencies pointing towards rustc-crates inside the rustc repo to
106
- Clippy's ` Cargo.toml ` s and should allow ` IntelliJ Rust ` to understand most of the types that Clippy uses.
106
+ Clippy's ` Cargo.toml ` s and should allow ` RustRover ` to understand most of the types that Clippy uses.
107
107
Just make sure to remove the dependencies again before finally making a pull request!
108
108
109
109
[ rustc_repo ] : https://github.com/rust-lang/rust/
110
- [ IntelliJ_rust_homepage ] : https://intellij-rust.github.io /
110
+ [ RustRover_homepage ] : https://www.jetbrains.com/rust /
111
111
112
112
### Rust Analyzer
113
113
For [ ` rust-analyzer ` ] [ ra_homepage ] to work correctly make sure that in the ` rust-analyzer ` configuration you set
0 commit comments