-
Notifications
You must be signed in to change notification settings - Fork 186
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
Unable to save modified file when dragged to a new window #1791
Comments
Created ST core issue for the root issue causing this: sublimehq/sublime_text#4630 |
Closing because it seems to be a core issue. See sublimehq/sublime_text#4630 |
I also encounter this annoying bug regularly. When it happens you either need to move the tab back to its original window, or save via the menu entry "File > Save". [
{ "keys": ["primary+s"], "command": "save", "args": {"async": true}, "context": [{"key": "lsp.session_with_capability", "operator": "equal", "operand": "textDocumentSync.willSave | textDocumentSync.willSaveWaitUntil | codeActionProvider.codeActionKinds | documentFormattingProvider | documentRangeFormattingProvider"}] },
] Even if the actual cause is a ST bug, I wouldn't close and ignore this issue here, and argue that the |
Description
Editing typescript project, dragged a tab out to a separate window then modified some lines and tried to save. Sublime won't save unless I drag the tab back into the open project. (see sublime issue - sublimehq/sublime_text#4623)
Steps to reproduce
Start Sublime Text, open a directory containing typescript files. (make sure to have the LSP plugin installed)
open multiple files in tabs
drag one of the tabs out to a separate window
modify the tab that's been dragged out, then try to save
Expected behavior
Expect the separate window/modified file to save.
Actual behavior

The separate window doesn't save with cmd+s (can still see the modified indication on top (circle icon/symbol)
Environment
Sublime Build: 4112
Operating system and version: macOS 11.4,
The text was updated successfully, but these errors were encountered: