Make Python library code (venv/stdlib/typeshed) read-only #46827
injust
started this conversation in
Feature Requests
Replies: 1 comment
-
|
This is a feature request that deserves strong support |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When viewing the definition of Python code, it's easy to accidentally type something, resulting in syntax errors that are annoying to track down and undo.
I haven't used VS Code in some time, but IIRC they mark library code as read-only and show you a prompt if you really want to modify it.
This can be achieved with default settings. Zed already supports read-only files, and you can also override read-only-ness by clicking the lock icon in the tab.
In the meantime, I have configured my
read_only_filessetting to the following:Beta Was this translation helpful? Give feedback.
All reactions