You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The problem is you can try to :w save a no-write-permission file, but not ever see the error message telling you it failed to save.
Messages that exceed the width of the status bar are hidden instead of clipped. There's an outstanding ticket with vscode to address this, but it's been backlogged. microsoft/vscode#84258. Even if that were fixed, I'd want the option of a more obvious notification that the save failed to go through.
Describe the solution you'd like
An option to invoke the native vscode saving mechanism with :w, which will throw a pop-up if there are any errors saving the file. The key is to be obvious when something went wrong. I understand some people will prefer the more subtle status bar messages, so this could be opt-in.
Describe alternatives you've considered
One workaround is to always keep your vscode window maximized, so messages are less likely to exceed the status bar width. However I prefer to keep the window half-screen-width, which hits this issue often with the long paths in our repository.
I've also tried overriding :w in user settings to use the native saving function as proposed by #1282, but that doesn't seem to work.
"vim.normalModeKeyBindingsNonRecursive": [
// :w should save whether or not file is dirty,
// and show pop-up if no write permissions
{
"before": [":", "w"],
"commands": ["workbench.action.files.save"]
},
]
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The problem is you can try to :w save a no-write-permission file, but not ever see the error message telling you it failed to save.
Messages that exceed the width of the status bar are hidden instead of clipped. There's an outstanding ticket with vscode to address this, but it's been backlogged. microsoft/vscode#84258. Even if that were fixed, I'd want the option of a more obvious notification that the save failed to go through.
Describe the solution you'd like
An option to invoke the native vscode saving mechanism with :w, which will throw a pop-up if there are any errors saving the file. The key is to be obvious when something went wrong. I understand some people will prefer the more subtle status bar messages, so this could be opt-in.
Describe alternatives you've considered
One workaround is to always keep your vscode window maximized, so messages are less likely to exceed the status bar width. However I prefer to keep the window half-screen-width, which hits this issue often with the long paths in our repository.
I've also tried overriding :w in user settings to use the native saving function as proposed by #1282, but that doesn't seem to work.
Additional context
![vscode_permissionsWarning](https://user-images.githubusercontent.com/488219/169879026-632eb414-f193-458d-aa20-733d0edc48e8.gif)
![vscode_vanishingErrorMsg](https://user-images.githubusercontent.com/488219/169879037-f89fb01c-9cf2-4e4b-8617-451d0244b362.gif)
The text was updated successfully, but these errors were encountered: