When creating an editor for use with Javascript, is it possible to set the context from which the "this" keyword (possibly a global scope) will initially be applied?
Within the Monaco editor’s playground, if the editor is initially empty and I type this., I would like the autocomplete list to display capabilities based on the appropriate context.
Even inside a function, input this.only leads to words that appear in the function. There are no other options.
source
share