Skip to content

DefinitionProvider

原文链接

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

ts
interface DefinitionProvider {
    provideDefinition(model, position, token): ProviderResult<Definition>;
}

provideDefinition