Skip to content

Conversation

dummdidumm
Copy link
Member

@dummdidumm dummdidumm commented Dec 15, 2020

#715
Bump to new language server protocol version 3.16 with corresponding types. Also bump vscode-languageserver/languageclient.

Caveat: Range/Position is now checked - all lines/columns must be 0 <= X <= MAX_INT, which means we cannot use Range.create on all occasions anymore. We need the temporary creation of invalid positions/ranges to deal with them later case-by-case

BREAKING CHANGE

vscode extension now requires a minimum vscode version of 1.52.0

Notes
  • We possibly can refactor the getEditsForFileRename-thing we currently have setup "by hand", there's a workspace_didRenameFiles command now. Update: I player around with it and I don't think it suits our needs: willRenameFiles is done before the rename operation, and computing all update-locations might take too long, so that's bad UX. didRenameFiles is a notification, not a request, so we cannot send something back.

Bump to new language server protocol version 3.16 with corresponding types. Also bump vscode-languageserver/languageclient.

Caveat: Range/Position is now checked - all lines/columns must be 0 <= X <= MAX_INT, which means we cannot use Range.create on all occasions anymore. We need the temporary creation of invalid positions/ranges to deal with them later case-by-case

### BREAKING CHANGE
vscode extension now requires a minimum vscode version of 1.52.0
@dummdidumm dummdidumm merged commit 7069031 into sveltejs:master Dec 18, 2020
@dummdidumm dummdidumm deleted the bump-lsp branch December 18, 2020 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants