Skip to content

NewSymbolNamesProvider

原文链接

https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.NewSymbolNamesProvider.html

ts
interface NewSymbolNamesProvider {
    supportsAutomaticNewSymbolNamesTriggerKind?: Promise<boolean>;
    provideNewSymbolNames(model, range, triggerKind, token): ProviderResult<NewSymbolName[]>;
}

supportsAutomaticNewSymbolNamesTriggerKind

  • 类型:Promise<boolean>

provideNewSymbolNames