It's easy to miss that you've opened a read-only file in Visual Studio: When you open a file you can't change, a tiny little lock icon appears on the tab of the editor window to the right of the ...
Microsoft has released Visual Studio Code 1.79.0 (May 2023 release) with several new features including a read-only mode for specific files and folders in your workspace. If you’ve been using GitHub ...