S
S
serega 20702019-08-03 12:50:38
Visual Studio Code
serega 2070, 2019-08-03 12:50:38

"Cannot edit in read-only editor" error in VS Code, how to fix?

Hey! when you connect to the ftp server via the sftp extension in vscode, when you want to edit any line in the file, it does not edit anything and gives the error "Cannot edit in read-only editor", where to dig?
file permissions are ok

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
webforeman, 2020-06-05
@webforeman

Windows/Linux - File > Preferences > Settings
macOS - Code > Preferences > Settings
"sftp.downloadWhenOpenInRemoteExplorer": true
Reboot VSCode

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question