mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 21:16:27 +03:00
add cargo's git checkouts to the list of paths to mark as read-only in vscode
This commit is contained in:
@@ -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,
|
||||
},
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user