fix command title of codeLens, same as VSCode
This commit is contained in:
parent
d9680b9764
commit
5d0c6830fc
2 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ export default class TypeScriptImplementationsCodeLensProvider extends TypeScrip
|
||||||
}
|
}
|
||||||
|
|
||||||
codeLens.command = {
|
codeLens.command = {
|
||||||
title: 'Could not determine implementations',
|
title: '0 implementations',
|
||||||
command: ''
|
command: ''
|
||||||
}
|
}
|
||||||
return codeLens
|
return codeLens
|
||||||
|
|
|
@ -53,7 +53,7 @@ export default class TypeScriptReferencesCodeLensProvider extends TypeScriptBase
|
||||||
})
|
})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
codeLens.command = {
|
codeLens.command = {
|
||||||
title: 'Could not determine references',
|
title: '0 references',
|
||||||
command: ''
|
command: ''
|
||||||
}
|
}
|
||||||
return codeLens
|
return codeLens
|
||||||
|
|
Loading…
Reference in a new issue