mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-11-03 13:13:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			277 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			277 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
# Settings Example
 | 
						|
 | 
						|
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,
 | 
						|
},
 | 
						|
```
 |