registerHoverProvider
原文链接
https://microsoft.github.io/monaco-editor/docs.html#functions/languages.registerHoverProvider.html
语法:
registerHoverProvider(languageSelector, provider): IDisposable
参数:
languageSelector
: LanguageSelectorprovider
: HoverProvider< Hover >
返回值:IDisposable
描述:用于注册悬停提供程序。