From 7acf79f0e74fa4b8c8a56086077a7ac55a28943d Mon Sep 17 00:00:00 2001 From: Simon Guilliams Date: Thu, 29 Aug 2019 18:59:22 +0200 Subject: [PATCH] Fix typo in completion sample --- completions-sample/src/extension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/completions-sample/src/extension.ts b/completions-sample/src/extension.ts index 967e03a4..bc0bc4a8 100644 --- a/completions-sample/src/extension.ts +++ b/completions-sample/src/extension.ts @@ -52,7 +52,7 @@ export function activate(context: vscode.ExtensionContext) { provideCompletionItems(document: vscode.TextDocument, position: vscode.Position) { // get all text until the `position` and check if it reads `console.` - // and iff so then complete if `log`, `warn`, and `error` + // and if so then complete if `log`, `warn`, and `error` let linePrefix = document.lineAt(position).text.substr(0, position.character); if (!linePrefix.endsWith('console.')) { return undefined;