-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
one couldn't switch from a new file that's not saved on disk (in vscode it's a file with URI scheme 'untitled') The previous switching logic depended on document store, which only knows files that were opened with a 'textDocument/didOpen' notification. VS Code doesn't send such notifications for unsaved files, hence the bug. Now switching handled file URIs directly without dependence on document store, which works for any 'switchImplIntf' request with a valid URI.
- Loading branch information
Showing
3 changed files
with
33 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters