-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
save (:w or :wq) with SSHFS and LiveShare guest don't work properly #2956
Comments
Contributions are welcome. |
Is it safe to add the condition as below? if (vimState.editor.document.isUntitled || vimState.editor.document.uri.scheme !== 'file') { I make this change in my local version. |
there is another issue when editing remote files. |
#3304 (comment) has a good repro |
Hi jpoon, Is it ok to remove fs module's file access checking before saving the file? |
I'm using VS Code with a remote workspace (via an extension that integrates with our dev-server) and saving files with ":w" always gives me error. It seems our private extension overloaded the "save" action in VS Code but the VIM extension is bypassing the editor's save API.
Describe the solution you'd like
We can have an additional flag in settings to bypass the local file write. A check of the setting can be added at here:
Vim/src/cmd_line/commands/write.ts
Line 52 in 82abec3
The text was updated successfully, but these errors were encountered: