fixed Bug related to titles
This commit is contained in:
parent
f228a17e35
commit
dc33d4bb85
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue