Useful when modify file under node_modules accidentally.
VSCode doesn't provide an api to mark a opened editor readonly now, ref: Add read-only mode.
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Useful when modify file under node_modules accidentally.
VSCode doesn't provide an api to mark a opened editor readonly now, ref: Add read-only mode.
{ // will give a warning is file match the includedFileGlobs "modifyFileWarning.includedFileGlobs": [ "**/node_modules/**/*" // "**/.git/**" ], // you can using this setting to exclude files from includedFileGlobs "modifyFileWarning.excludedFileGlobs": [] }