I want to view some code files with VS Code and edit my own code to call them. I shouldn't change them (include the file mode) so it's best if I open those files in read-only mode.
In fact, I have met some trouble because of the modification by accident. So I think I should view those files in a safer way.
How to do it with VS code? I know PyCharm and Notepad++ have implented this function, so has VS Code? I haven't find it even on its official website.
Many thanks.