You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open existing md files in read-only mode by default. There could be an option in settings to control the default behaviour.
What problem does this feature solve? [optional]
For exisisting md files, most of the time people would open them for reading and searching for information, not to edit them. Open in read-only mode helps prevent accidental change to the content.
Additional context [optional]
Reacted by balaji-ch, Ankit Jain, Justin Ma, Maciej Lebiest, Riccardo, xiaoshuai, killua, Mehmet Köse, Michał Gallus, matzter and 2 more
Why is this low priority? Read-only is an essential feature. Most of the time, we are reading files. Now it is quite annoying that you accidentally edit open documents.
I am actually baffled by how this is still an open feature request. I think I saw a couple more duplicates as well. I don't think it is a difficult to add feature. Looking forward to future updates.
Closing as a duplicate of #3688, which tracks the read-only / view-only mode.
"Open in read-only by default" is a preference on that same mode — you cannot ship the preference without the mode, and both land in one change. #3688 now carries a contributor's full design proposal that covers your ask explicitly: a per-tab toggle in the View menu, an "Open files in read-only mode" preference, and setReadOnly() in the editor engine.
Activity
marisks commentedon May 6, 2026
Why is this low priority? Read-only is an essential feature. Most of the time, we are reading files. Now it is quite annoying that you accidentally edit open documents.
ExQueueSee commentedon Aug 12, 2026
I am actually baffled by how this is still an open feature request. I think I saw a couple more duplicates as well. I don't think it is a difficult to add feature. Looking forward to future updates.
Jocs commentedon Sep 22, 2026
Closing as a duplicate of #3688, which tracks the read-only / view-only mode.
"Open in read-only by default" is a preference on that same mode — you cannot ship the preference without the mode, and both land in one change. #3688 now carries a contributor's full design proposal that covers your ask explicitly: a per-tab toggle in the View menu, an "Open files in read-only mode" preference, and
setReadOnly()in the editor engine.