fixed Bug related to titles

This commit is contained in:
Falko Victor Habel 2024-06-02 16:38:48 +02:00
parent f228a17e35
commit dc33d4bb85
1 changed files with 3 additions and 3 deletions

View File

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