I'm building a language server for a custom DSL using the Pygls library.
Member expressions are handled with .
in the language as used commonly in other languages, eg datum.deadline
. I've made auto-completions work with this trigger character.
However, another operator that is used to access static methods in the language is the double colon ::
, eg Date::new()
. From what I read according to the ls-protocol specification it seems multi chars are not supported (yet). Is there still perhaps another way to make auto-completions possible with multi char triggers? Perhaps through a textDocument/didChange
event?
Thanks.