sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
812 stars 40 forks source link

[Feature-request] Open file in read-only mode directly upon opening #4582

Open tukanos opened 3 years ago

tukanos commented 3 years ago

Problem description

I want ST to open directly into read-only mode upon opening a file. I have opened a question on Superuser, but it appears this feature is missing for ST which is really a pity.

This should solve a workflow where I want to make sure I don't accidentally make any changes to a file running e.g. on production server. I'm aware of plugins like toggle-readonly, but that requires user interaction and can be easily forgotten.

Preferred solution

A simple switch when opening ST like --read-only would suffice.

keith-hall commented 3 years ago

possible duplicate of https://github.com/sublimehq/sublime_text/issues/4423

BenjaminSchaaf commented 3 years ago

Considering that this issue is significantly more descriptive I'll close the other one as a duplicate.

drt-infor commented 1 year ago

I'd really like this feature as well. Might even make it worth upgrading to ST4 :-)

tukanos commented 1 year ago

Are there any plans including this functionality in future release? It has been more than two years already. Thank you.