You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since 3.16.0 the client can signal that it can resolve more properties lazily. This is done using the completionItem#resolveSupport client capability which lists all properties that can be filled in during a ‘completionItem/resolve’ request
And then follows
All other properties (usually sortText, filterText, insertText and textEdit) must be provided in the textDocument/completion response and must not be changed during resolve.
Can I understand this as: All other properties can be updated during resolve except for sortText, filterText, insertText and textEdit.
In other words, sortText, filterText, insertText and textEdit cannot be set into the resolve support capabilities?
The text was updated successfully, but these errors were encountered:
Not fully, this is why the spec says usually. Clients would be allowed to make all properties lazy but that will not work well. So usually clients need sortText, filterText, insertText and textEdit to do some reasonable rendering of the items in the UI.
The spec says:
And then follows
Can I understand this as: All other properties can be updated during resolve except for sortText, filterText, insertText and textEdit.
In other words, sortText, filterText, insertText and textEdit cannot be set into the resolve support capabilities?
The text was updated successfully, but these errors were encountered: