You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/tools/rust-analyzer/docs/dev/setup.md
+3-9Lines changed: 3 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,11 @@
1
1
# Setup Guide
2
2
3
-
This guide gives a simplified opinionated setup for developers contributing to rust-analyzer.
3
+
This guide gives a simplified opinionated setup for developers contributing to rust-analyzer using Visual Studio Code to make changes and Visual Studio Code Insiders to test those changes. This guide will assume you have Visual Studio Code and Visual Studio Code Insiders installed.
4
4
5
5
## Prerequisites
6
6
7
7
Since rust-analyzer is a Rust project, you will need to install Rust. You can download and install the latest stable version of Rust [here](https://www.rust-lang.org/tools/install).
8
8
9
-
You will also need Visual Studio Code and Visual Studio Code Insiders for this workflow. You can download and install Visual Studio Code [here](https://code.visualstudio.com/Download) and you can download and install Visual Studio Code Insiders [here](https://code.visualstudio.com/insiders/).
10
-
11
-
You will also need to install the rust-analyzer extension for Visual Studio Code and Visual Studio Code Insiders.
12
-
13
-
More information about Rust on Visual Studio Code can be found [here](https://code.visualstudio.com/docs/languages/rust)
14
-
15
9
## Step-by-Step Setup
16
10
17
11
**Step 01**: Fork the rust-analyzer repository and clone the fork to your local machine.
Now on Visual Studio Code Insiders, we should be able to open the Output tab on our terminal and switch to Rust Analyzer Language Server to see the `eprintln!` statement we just wrote.
62
56
63
-
If you are able to see your output, you now have a complete workflow for debugging rust-analyzer.
57
+
If you are able to see your output, you now have a complete workflow for debugging rust-analyzer.
0 commit comments