Dynamic autocomplete items

Hey there,

We are in a migration process to v6 and struggling with reveal how to use a dynamic set of completion items based on cursor position.
With v5 we used showHint with a callback which was pretty straight forward.

Is there any chance that we can get some working minimal example that demonstrate this case?
It is really hard to connect all the pieces into working code without an example.

NOTE: we need to use this set of items for any language and actually replacing the default set.

Thanks in advance

See the autocomplete example and the override option.

Thank you very much for your response.

Iv’e already went over this page and it didn’t gave me enough context of how to set completions for ANY language and where to declare it in the configuration? thank you again in advance