diff --git a/src/extension.ts b/src/extension.ts index 04cdf56..410ad48 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -223,8 +223,8 @@ async function provideCompletionItems(document: vscode.TextDocument, position: v item.documentation = new vscode.MarkdownString('Press `Enter` to get an autocompletion from Ollama'); // Set the command to trigger the completion if (continueInline || !responsePreview) item.command = { - command: 'ollama-autocoder.autocomplete', - title: 'Autocomplete with Ollama', + command: 'fabelous-autocoder.autocomplete', + title: 'Fabelous Autocomplete', arguments: [cancellationToken] }; // Return the completion item @@ -240,7 +240,7 @@ function activate(context: vscode.ExtensionContext) { ); // Register a command for getting a completion from Ollama through command/keybind const externalAutocompleteCommand = vscode.commands.registerTextEditorCommand( - "ollama-autocoder.autocomplete", + "fabelous-autocoder.autocomplete", (textEditor, _, cancellationToken?) => { // no cancellation token from here, but there is one from completionProvider autocompleteCommand(textEditor, cancellationToken);