Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LanguagesMainImpl
    • LanguagesMainPluginMetrics

Index

Constructors

  • Parameters

    • rpc: RPCProtocol

    Returns LanguagesMainPluginMetrics

Properties

handleToExtensionID: Map<number, string> = ...
pluginMetricsResolver: PluginMetricsResolver

Methods

  • $registerCodeLensSupport(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[], eventHandle: number): void
  • $registerCompletionSupport(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[], triggerCharacters: string[], supportsResolveDetails: boolean): void
  • $registerDeclarationProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void
  • $registerDefinitionProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void
  • $registerDocumentColorProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void
  • $registerDocumentFormattingSupport(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void
  • $registerDocumentHighlightProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void
  • $registerDocumentLinkProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void
  • $registerFoldingRangeProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[], eventHandle: number): void
  • $registerHoverProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void
  • $registerImplementationProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void
  • $registerOnTypeFormattingProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[], autoFormatTriggerCharacters: string[]): void
  • $registerOutlineSupport(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[], displayName?: string): void
  • $registerQuickFixProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[], codeActionKinds?: string[], documentation?: CodeActionProviderDocumentation): void
  • $registerRangeFormattingSupport(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void
  • $registerReferenceProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void
  • $registerRenameProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[], supportsResolveLocation: boolean): void
  • $registerSignatureHelpProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[], metadata: SignatureHelpProviderMetadata): void
  • $registerTypeDefinitionProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[]): void
  • $registerWorkspaceSymbolProvider(handle: number, pluginInfo: PluginInfo): void
  • $unregister(handle: number): void
  • handleToExtensionName(handle: number): string
  • provideCodeActions(handle: number, model: ITextModel, rangeOrSelection: Range, context: CodeActionContext, token: CancellationToken): Promise<CodeActionList>
  • provideCodeLenses(handle: number, model: ITextModel, token: CancellationToken): Promise<ProviderResult<CodeLensList>>
  • provideColorPresentations(handle: number, model: ITextModel, colorInfo: IColorInformation, token: CancellationToken): ProviderResult<IColorPresentation[]>
  • provideCompletionItems(handle: number, model: ITextModel, position: Position, context: CompletionContext, token: CancellationToken): ProviderResult<CompletionList>
  • provideDefinition(handle: number, model: ITextModel, position: Position, token: CancellationToken): ProviderResult<Definition>
  • provideDocumentColors(handle: number, model: ITextModel, token: CancellationToken): ProviderResult<IColorInformation[]>
  • provideDocumentFormattingEdits(handle: number, model: ITextModel, options: FormattingOptions, token: CancellationToken): ProviderResult<TextEdit[]>
  • provideDocumentHighlights(handle: number, model: ITextModel, position: Position, token: CancellationToken): ProviderResult<DocumentHighlight[]>
  • provideDocumentRangeFormattingEdits(handle: number, model: ITextModel, range: Range, options: FormattingOptions, token: CancellationToken): ProviderResult<TextEdit[]>
  • provideDocumentSymbols(handle: number, model: ITextModel, token: CancellationToken): ProviderResult<DocumentSymbol[]>
  • provideFoldingRanges(handle: number, model: ITextModel, context: FoldingContext, token: CancellationToken): ProviderResult<FoldingRange[]>
  • provideHover(handle: number, model: ITextModel, position: Position, token: CancellationToken): ProviderResult<Hover>
  • provideImplementation(handle: number, model: ITextModel, position: Position, token: CancellationToken): ProviderResult<Definition>
  • provideLinks(handle: number, model: ITextModel, token: CancellationToken): Promise<ProviderResult<ILinksList>>
  • provideOnTypeFormattingEdits(handle: number, model: ITextModel, position: Position, ch: string, options: FormattingOptions, token: CancellationToken): ProviderResult<TextEdit[]>
  • provideReferences(handle: number, model: ITextModel, position: Position, context: ReferenceContext, token: CancellationToken): ProviderResult<Location[]>
  • provideRenameEdits(handle: number, model: ITextModel, position: Position, newName: string, token: CancellationToken): ProviderResult<WorkspaceEdit & Rejection>
  • provideSignatureHelp(handle: number, model: ITextModel, position: Position, token: CancellationToken, context: SignatureHelpContext): Promise<ProviderResult<SignatureHelpResult>>
  • provideTypeDefinition(handle: number, model: ITextModel, position: Position, token: CancellationToken): ProviderResult<Definition>
  • provideWorkspaceSymbols(handle: number, params: WorkspaceSymbolParams, token: CancellationToken): Thenable<SymbolInformation[]>
  • registerPluginWithFeatureHandle(handle: number, pluginID: string): void
  • resolveCodeLens(handle: number, model: ITextModel, codeLens: CodeLens, token: CancellationToken): ProviderResult<CodeLens>
  • resolveCompletionItem(handle: number, item: CompletionItem, token: CancellationToken): ProviderResult<CompletionItem>
  • resolveLink(handle: number, link: ILink, token: CancellationToken): Promise<ProviderResult<ILink>>
  • resolveRenameLocation(handle: number, model: ITextModel, position: Position, token: CancellationToken): ProviderResult<RenameLocation>
  • resolveWorkspaceSymbol(handle: number, symbol: SymbolInformation, token: CancellationToken): Thenable<SymbolInformation>