New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Option/Toggle to make the editor read only when the underlying file is read only. #20
Comments
Hi @henrik-jensen , Unfortunately not. There is no I understand that that issue is complex, and may have a bunch of scenarios to take care of, but I wonder why single, read-only files aren’t opened as read-only (non editable) yet. BTW, there is an open issue here. Maybe upvoting the last one would make it easier to be released 😃 . Hope this helps. PS. Once microsoft/vscode#17670 is release, toggling read-only/writeable would update the editor automagically |
So the readOnly property is only available internally and not for extensions? Anyway, upvoted microsoft/vscode#17670 Thx for the response and link. |
Yes, it is :-( Let’s see what the VS Code team have planned for the next releases. With so much effort in Remote Development scenarios, maybe we see improvements in FileSystem info, and this I have upvoted/subscribed to that issues too.. |
As an emacs user, I really love being able to toggle a buffer read only even when the file is writable. Vim also have the option to open a file as a "read only" buffer (vim -R ) |
Hi @funkiestj , I'm not an emacs/vim user, but from time to time I also need to toggle read-only state for the buffer, but unfortunately, the VSCode issue microsoft/vscode#4873 is still open, with no ETA. You may upvote/subscribe on that issue, so you would be notified on updates. Hope this helps |
upvoted. |
There is a long time request for an Add read-only mode enhancement request to vscode for a toggle to make the editor (buffer) read only.
I wonder if this extension, as an option, could toggle the built in readOnly Editor option, see [2.], when it detects a readonly file?
Some links of possible interest:
The text was updated successfully, but these errors were encountered: