Skip to content

Commit 7c51929

Browse files
committed
update
1 parent 8d125e2 commit 7c51929

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ bin/node/runtime/wasm/target/
1515
!**/.vscode/extensions.json
1616
!**/.vscode/launch.json
1717
!**/.vscode/tasks.json
18+
!**/.vscode/faq.md
1819

1920

2021
polkadot.*

.vscode/faq.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# vscode faq
2+
3+
4+
5+
## rust + rust-analyzer
6+
7+
- 默认子项目如果不在根目录的 `workspace` 内, vscode 需要添加自定义的路径到 `settings.json` 中.
8+
- https://rustcc.cn/article?id=02cf99e7-9de3-44ef-b6d4-97720ce1f00c
9+
10+
11+
```json
12+
13+
"rust-analyzer.linkedProjects": [
14+
"path/to/Cargo.toml"
15+
]
16+
```

0 commit comments

Comments
 (0)