Skip to content

Commit

Permalink
bugfix in shown_times field
Browse files Browse the repository at this point in the history
  • Loading branch information
Ar4l committed Mar 20, 2024
1 parent dfc6065 commit af8e94f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code4me-vsc-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Language model code completion.",
"author": "Code4Me",
"license": "Apache-2.0",
"version": "1.1.0",
"version": "1.1.1",
"categories": [
"Machine Learning",
"Programming Languages",
Expand Down
4 changes: 2 additions & 2 deletions code4me-vsc-plugin/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function activate(context: vscode.ExtensionContext) {

start(context).then(disposable => {
context.subscriptions.push(disposable);
console.log('Code4me Activated!')
console.log(`Code4Me Activated! v${CODE4ME_VERSION}`)
})
}

Expand Down Expand Up @@ -362,12 +362,12 @@ class CompletionItemProvider implements vscode.CompletionItemProvider {
item.detail = '\u276E\uff0f\u276f' // Added the Logo here instead
item.documentation = 'Completion from ' + model

item.shownTimes = [new Date().toISOString()];
item.command = {
command: 'verifyInsertion',
title: 'Verify Insertion',
arguments: [prediction, position, document, verifyToken, this.uuid, item.shownTimes, () => {this.setIdleTrigger()}]
};
item.shownTimes = [new Date().toISOString()];

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

0 comments on commit af8e94f

Please sign in to comment.