Closed AirBashX closed 2 years ago
This functionality is supported by the server but unfortunately ST doesn't allow us to utilize it. We'd need https://github.com/sublimehq/sublime_text/issues/3298 to be implemented for that to work.
I'll close this issue since it would have to be solved in LSP
package instead if the ST API is implemented.
LSP knows what lsp completion item is selected. So that would not be a problem.
This would not work only if the server is modifying the completion item textEdit or insertText in resolve request.
That's the case here. The extra data that we need is provided through the resolve request. We'd want to resolve that on focusing given completion in the list but we can't. In theory it would be possible to do that before completion is inserted but that introduces too much latency.
For example:
document.getElementsByName || document.getElementsByName()