From 5d0c6830fcdbeacaf2d41305990f22be3185ae7a Mon Sep 17 00:00:00 2001 From: chemzqm Date: Fri, 30 Nov 2018 12:37:28 +0800 Subject: [PATCH] fix command title of codeLens, same as VSCode --- src/server/features/implementationsCodeLens.ts | 2 +- src/server/features/referencesCodeLens.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/features/implementationsCodeLens.ts b/src/server/features/implementationsCodeLens.ts index 56398ef..a2f6634 100644 --- a/src/server/features/implementationsCodeLens.ts +++ b/src/server/features/implementationsCodeLens.ts @@ -54,7 +54,7 @@ export default class TypeScriptImplementationsCodeLensProvider extends TypeScrip } codeLens.command = { - title: 'Could not determine implementations', + title: '0 implementations', command: '' } return codeLens diff --git a/src/server/features/referencesCodeLens.ts b/src/server/features/referencesCodeLens.ts index e7549df..f4c8654 100644 --- a/src/server/features/referencesCodeLens.ts +++ b/src/server/features/referencesCodeLens.ts @@ -53,7 +53,7 @@ export default class TypeScriptReferencesCodeLensProvider extends TypeScriptBase }) .catch(() => { codeLens.command = { - title: 'Could not determine references', + title: '0 references', command: '' } return codeLens