Skip to content

Commit 59c890b

Browse files
committed
bugfix in shown_times field
1 parent dfc6065 commit 59c890b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code4me-vsc-plugin/src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,12 +362,12 @@ class CompletionItemProvider implements vscode.CompletionItemProvider {
362362
item.detail = '\u276E\uff0f\u276f' // Added the Logo here instead
363363
item.documentation = 'Completion from ' + model
364364

365+
item.shownTimes = [new Date().toISOString()];
365366
item.command = {
366367
command: 'verifyInsertion',
367368
title: 'Verify Insertion',
368369
arguments: [prediction, position, document, verifyToken, this.uuid, item.shownTimes, () => {this.setIdleTrigger()}]
369370
};
370-
item.shownTimes = [new Date().toISOString()];
371371

372372
// This is useful if you want to see what's exactly going on with the range and prefix modifications
373373
// I use • to denote the cursor position

0 commit comments

Comments
 (0)