Code Completion Help

Is there any documentation on getting started with CodeCompletion and showHint?

I have code completion working using the default of Ctrl-Space, but I’m looking to implement a separate list of keywords when the user presses “.” (dot). Basically a properties and methods list.

I’m not seeing any examples on how this might be done.

Any help would be appreciated.


The manual describes the interfaces involved. You’ll have to write a completion function that checks the cursor position and does something similar depending on whether there’s a dot before the current word.