vscode Cannot edit in read-only editor

vscode Cannot edit in read-only editor 错误解决

原因

使用了Run Code插件,output是只读的

解决方法

将 run code设置为在Terminal中运行

1
File -> Preferences -> Settings

找到 run code in terminal 打上 √

或 在settings.json文件中,添加一行配置信息

1
"code-runner.runInTerminal": true
坚持原创技术分享,您的支持将鼓励我继续创作!
0%