Skip to content

Commit af8e94f

Browse files
committed
bugfix in shown_times field
1 parent dfc6065 commit af8e94f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

code4me-vsc-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Language model code completion.",
55
"author": "Code4Me",
66
"license": "Apache-2.0",
7-
"version": "1.1.0",
7+
"version": "1.1.1",
88
"categories": [
99
"Machine Learning",
1010
"Programming Languages",

code4me-vsc-plugin/src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export function activate(context: vscode.ExtensionContext) {
6262

6363
start(context).then(disposable => {
6464
context.subscriptions.push(disposable);
65-
console.log('Code4me Activated!')
65+
console.log(`Code4Me Activated! v${CODE4ME_VERSION}`)
6666
})
6767
}
6868

@@ -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)