Skip to content
This repository was archived by the owner on Mar 22, 2024. It is now read-only.

Commit 595095e

Browse files
committed
Switch back to matklad.rust-analyzer and update the documentation
1 parent ae08332 commit 595095e

File tree

2 files changed

+19
-20
lines changed

2 files changed

+19
-20
lines changed

.devcontainer/devcontainer.json

+17-18
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
{
2-
"name": "Codespaces Rust Starter",
3-
"extensions": [
4-
"ms-vsliveshare.vsliveshare",
5-
"matklad.rust-analyzer",
6-
"serayuzgur.crates",
7-
"vadimcn.vscode-lldb",
8-
"rust-lang.rust"
9-
],
10-
"dockerFile": "Dockerfile",
11-
"settings": {
12-
"editor.formatOnSave": true,
13-
"terminal.integrated.shell.linux": "/usr/bin/zsh",
14-
"files.exclude": {
15-
"**/CODE_OF_CONDUCT.md": true,
16-
"**/LICENSE": true
17-
}
18-
}
19-
}
2+
"name": "Codespaces Rust Starter",
3+
"extensions": [
4+
"ms-vsliveshare.vsliveshare",
5+
"matklad.rust-analyzer",
6+
"serayuzgur.crates",
7+
"vadimcn.vscode-lldb"
8+
],
9+
"dockerFile": "Dockerfile",
10+
"settings": {
11+
"editor.formatOnSave": true,
12+
"terminal.integrated.shell.linux": "/usr/bin/zsh",
13+
"files.exclude": {
14+
"**/CODE_OF_CONDUCT.md": true,
15+
"**/LICENSE": true
16+
}
17+
}
18+
}

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ To load this setup in a container, we need to point to it. We have many options
9595
2. Choose `Remote-Containers: Open Repository in container`
9696
3. Type `codespaces-examples/rust` in the prompt.
9797
4. Chose to create a unique volume.
98-
5. Wait until the container is setup and you are connected to it, at this point, it should ask you to install some missing Rust components, go ahead and say yes.
99-
![](https://user-images.githubusercontent.com/113/84210352-468ca100-aa6d-11ea-88c4-fdffa1b9e92a.png)
98+
5. Wait until the container is setup and you are connected to it, at this point, it should ask you to install the Language server for the rust-analyzer, go ahead and click "Download now".
99+
![](https://user-images.githubusercontent.com/113/84297926-2ad3da00-ab03-11ea-8045-690eb0763d9f.png)
100100

101101
That's it, you are all setup, you can modify and run the code in your local VSCode instance but the code and extensions will run in your container.
102102

0 commit comments

Comments
 (0)