VS Code: configure readonly files
parent
ee60aedf1c
commit
2f17b81b3e
|
@ -33,6 +33,15 @@
|
|||
// Maintaining current indentation for now, but could remove this for consistency.
|
||||
"editor.detectIndentation": true
|
||||
},
|
||||
// Prevent accidental editing.
|
||||
// This can always be overridden with the command "File: Toggle Active Editor Read-only in Session"
|
||||
"files.readonlyInclude": {
|
||||
// Electron Forge output
|
||||
"out/**": true,
|
||||
// Node.js
|
||||
"node_modules/**": true,
|
||||
"package-lock.json": true,
|
||||
},
|
||||
// @TODO: is there a way to prune this spelling list? I didn't know about the comment directives for a while,
|
||||
// and accepted a lot of strings for the language names, in languages that I don't understand,
|
||||
// and even with partial strings when it was buggy with Unicode.
|
||||
|
|
Loading…
Reference in New Issue