Implementing codeintel for additional language

I want to update my add-on R Language Interface to use the new codeintel, but I can’t seem to find the documentation.
Currently it is implemented as a LangIntel object in Python. The completions are retrieved dynamically from the R environment each time they are requested, so document scanning won’t work for me. Basically, I’m looking for a method to define implicit/explicit trigger points in the document, and populate the completion menu.

Hey @k-barton,

The latest version of Code Intel was implemented to interface with LSP servers. I think to get the functionality you want you’ll need to implement an R LSP server or hook an existing one into Komodo.

Here’s an example addon that adds an LSP server for Node, Typescript and JS: https://github.com/Komodo/Komodo-TypeScript-LSP

  • Carey