eclipselabs/eclipse-language-service

[Completion] Support for triggers chars

Closed this issue · 8 comments

Use ServerCapabilities#getCompletionProvider#getCompletionOptions#getTriggerCharacters to initialize completion processor to support triggers chars.

+1. However it may also require some code to adopt triggerChars this in the Generic Editor as well.

@angelozerr I pushed a change that should support it. However, I didn't manage to find a working language server that uses it. Do you have an example to suggest? If not, I'll probably just close this issue.

I'd like to, but there's TypeFox/ls-api#63 blocking good integration of JSON server.

Autoactivation works ok but only after first manual activation (ctrl+space). Before that LSPDocumentInfo isn't computed for LSContentAssistProcessor.