I would like to have a function that the user can use to set an opened file as "read-only", which means after clicking the button, the file is not editable within VScode (but actually you still can from outside of VScode). I know another editor has this function and feel it's useful especially when you read source code and want to avoid accidentally typing something into the code.
I would like to have a function that the user can use to set an opened file as "read-only", which means after clicking the button, the file is not editable within VScode (but actually you still can from outside of VScode). I know another editor has this function and feel it's useful especially when you read source code and want to avoid accidentally typing something into the code.