- VSCode Version:1.5.2
- OS Version:Windows 10
Feature request: Option to allow certain files to be open in the editor only as Read-only.
A workspace settings similar to "files.exclude".
"files.readOnly": {
"client/src/app/common":true, //Folder
"server/src/common":true,
"common/**/*.ts":true //Globs,
"client/src/app/test.ts":true //Specific file
}
With the above settings, a user will not be able to make any changes to the files specified via the editor.
A sample scenario is mentioned in the stack overflow question
http://stackoverflow.com/questions/39560184/open-certain-files-in-a-workspace-as-read-only-in-vs-code
Feature request: Option to allow certain files to be open in the editor only as Read-only.
A workspace settings similar to "files.exclude".
With the above settings, a user will not be able to make any changes to the files specified via the editor.
A sample scenario is mentioned in the stack overflow question
http://stackoverflow.com/questions/39560184/open-certain-files-in-a-workspace-as-read-only-in-vs-code