completeScope
completeScope(
scope,commitChars?):CompletionSource<{path:string[] |null; }>
Defined in: extensions/autocomplete/javascript/index.ts:159
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
If a character in this string is typed and one of these options is selected, the option is inserted right before typing that character.
Returns
Section titled “Returns”CompletionSource<{ path: string[] | null; }>