VSCode API: Set editor to ReadOnly mode

Viewed 1014

The Monaco editor has a way to disable edits via a readOnly setting (https://github.com/Microsoft/monaco-editor/issues/54), which is quite useful in an extension that steps through code, aids code review, etc.

Is there a similar setting for this in VSCode API?

0 Answers
Related