mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
Clarify typings Fixes #20309
This commit is contained in:
@@ -153,8 +153,12 @@ export default class TypeScriptCompletionItemProvider implements CompletionItemP
|
||||
public provideCompletionItems(document: TextDocument, position: Position, token: CancellationToken): Promise<CompletionItem[]> {
|
||||
if (this.typingsStatus.isAcquiringTypings) {
|
||||
return Promise.reject<CompletionItem[]>({
|
||||
label: localize('acquiringTypingsLabel', 'Acquiring typings...'),
|
||||
detail: localize('acquiringTypingsDetail', 'Acquiring typings definitions for IntelliSense.')
|
||||
label: localize(
|
||||
{ key: 'acquiringTypingsLabel', comment: ['Typings refers to the *.d.ts typings files that power our IntelliSense. It should not be localized'] },
|
||||
'Acquiring typings...'),
|
||||
detail: localize(
|
||||
{ key: 'acquiringTypingsDetail', comment: ['Typings refers to the *.d.ts typings files that power our IntelliSense. It should not be localized'] },
|
||||
'Acquiring typings definitions for IntelliSense.')
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user