-
Notifications
You must be signed in to change notification settings - Fork 200
Description
Currently vscode-css-languageservice do not provide textEdit in completion item, scss document completion text replace range depends on wordPattern from vscode scss language configuration.
In vanilla scss document, it's working good, but if scss is embedded language in a document, vscode don't know the completion item is for scss language, so vscode don't apply replace range by scss wordPattern. In this case vscode can't show expected scss completions.
To fix this problem, I was calculate textEdit for css completion item before send it to language client.
But this way is unreliable, I've had some particular edge cases before. (But I forgot what actually happen)
I hope we can have textEdit from vscode-css-languageservice, so as downstream we don't need to care about css completion replace rules.
