registerCodeActionProvider
语法:
registerCodeActionProvider(languageSelector, provider, metadata?): IDisposable
参数:
languageSelector
: LanguageSelectorprovider
: CodeActionProvidermetadata
: CodeActionProviderMetadata
返回值:IDisposable
描述:用于注册一个代码操作提供程序。