The scenario:
- We are using the monaco editor in a javascript application to let the users enter custom javascript code (sort of a js-fiddle thing for an internal dashboarding application)
- Within the javascript code that the users edit
this
is bound to a custom framework-provided object when the code is executed.
Question:
- Is there a way to configure monaco so that it will provide code completion when the users type
this.
? - The
this
object is compiled from a TypeScript class with type annotation. Is it possible to use the typescript compiler to produce data that the custom monaco code completion can use?