I'm trying to have code completion for an object i registered in the global context using a custom node.
I am fine with either JSDoc typedefs or using Typescript, I just want some sort of code completion there.
I tried using the hints from
- Code completion and error flagging on a global variable
- Function Node Code Completion for Module (Monaco Editor) - #9 by harmonic7
- Monaco Editor "System-wide" code-completition - #4 by Steve-Mcl
but i could not figure it out. Can anyone help me how to make this work? Maybe the discussions above are outdated already?
Thanks a lot