Answer the question
In order to leave comments, you need to log in
"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
Windows/Linux - File > Preferences > Settings
macOS - Code > Preferences > Settings
"sftp.downloadWhenOpenInRemoteExplorer": true
Reboot VSCode
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question