diff options
| author | Jacob Lifshay <programmerjake@gmail.com> | 2025-02-13 18:45:31 -0800 |
|---|---|---|
| committer | Jacob Lifshay <programmerjake@gmail.com> | 2025-02-13 18:48:36 -0800 |
| commit | bad69a3d044f651e1fa652558ef47f247f885bc3 (patch) | |
| tree | 11246ea15731952cf44419edaf6d58dd9d671db2 /src/tools/rust-analyzer/editors/code | |
| parent | 1951cf5aaa00f30ae1e23d0461be93bcb737583c (diff) | |
| download | rust-bad69a3d044f651e1fa652558ef47f247f885bc3.tar.gz rust-bad69a3d044f651e1fa652558ef47f247f885bc3.zip | |
add cargo's git checkouts to the list of paths to mark as read-only in vscode
Diffstat (limited to 'src/tools/rust-analyzer/editors/code')
| -rw-r--r-- | src/tools/rust-analyzer/editors/code/walkthrough-setup-tips.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/editors/code/walkthrough-setup-tips.md b/src/tools/rust-analyzer/editors/code/walkthrough-setup-tips.md index fda4ac80023..aabe0dd662b 100644 --- a/src/tools/rust-analyzer/editors/code/walkthrough-setup-tips.md +++ b/src/tools/rust-analyzer/editors/code/walkthrough-setup-tips.md @@ -5,6 +5,7 @@ Add the following to settings.json to mark Rust library sources as read-only: ```json "files.readonlyInclude": { "**/.cargo/registry/src/**/*.rs": true, + "**/.cargo/git/checkouts/**/*.rs": true, "**/lib/rustlib/src/rust/library/**/*.rs": true, }, ``` |
