diff --git a/client/src/monaco-language-client.ts b/client/src/monaco-language-client.ts index 7e58f750b..01b57c2f9 100644 --- a/client/src/monaco-language-client.ts +++ b/client/src/monaco-language-client.ts @@ -12,6 +12,8 @@ import { ImplementationFeature } from "vscode-languageclient/lib/implementation" import { ColorProviderFeature } from "vscode-languageclient/lib/colorProvider"; import { WorkspaceFoldersFeature } from "vscode-languageclient/lib/workspaceFolders"; import { FoldingRangeFeature } from "vscode-languageclient/lib/foldingRange"; +import { CallHierarchyFeature } from "vscode-languageclient/lib/callHierarchy.proposed"; +import { SemanticTokensFeature } from "vscode-languageclient/lib/semanticTokens.proposed"; import * as p2c from 'vscode-languageclient/lib/protocolConverter'; import * as c2p from 'vscode-languageclient/lib/codeConverter'; import { IConnectionProvider, IConnection } from './connection'; @@ -105,6 +107,11 @@ export class MonacoLanguageClient extends BaseLanguageClient { } } + public registerProposedFeatures() { + this.registerFeature(new CallHierarchyFeature(this)); + this.registerFeature(new SemanticTokensFeature(this)); + } + } export namespace MonacoLanguageClient { export interface Options {