forked from angular/vscode-ng-language-service
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(completions): fix completions for inputs / outputs
The `TextEdit` is not meant to replace text to the right of the position. Instead, `InsesrtReplaceEdit` should be used. Reference discussion in LSP issue for examples on replacement vs insertion range for `InsertReplaceEdit`: microsoft/language-server-protocol#846 Fixes angular#1399 Note that the issue did not appear in the VE version of the extension because it was only providing completions as inserts (they had no `replacementSpan`).
- Loading branch information
Showing
2 changed files
with
16 additions
and
4 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