Skip to content

SignatureHelpProvider

原文链接

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

签名帮助提供程序接口定义了扩展和参数提示功能之间的约定。

ts
interface SignatureHelpProvider {
    signatureHelpRetriggerCharacters?: readonly string[];
    signatureHelpTriggerCharacters?: readonly string[];
    provideSignatureHelp(model, position, token, context): ProviderResult<SignatureHelpResult>;
}

signatureHelpRetriggerCharacters

  • 类型: readonly string[]

signatureHelpTriggerCharacters

  • 类型: readonly string[]

provideSignatureHelp