completeScope
completeScope(
scope,commitChars?,functionCommitChars?):CompletionSource<{path:string[] |null; }>
Defined in: extensions/autocomplete/javascript/index.ts:167
Returns a completion source that adds completions for a scope object.
Parameters
Section titled “Parameters”any
Scope object you want to provide completions for. For example window.
commitChars?
Section titled “commitChars?”string
Commit characters for variables in the scope. If a character in this string is typed and one of these options is selected, the option is inserted right before typing that character.
functionCommitChars?
Section titled “functionCommitChars?”string
Commit characters for functions in the scope.
If a character in this string is typed and one of these options is selected, the option
is inserted right before typing that character. Defaults to commitChars.
Returns
Section titled “Returns”CompletionSource<{ path: string[] | null; }>