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');
|
item.documentation = new vscode.MarkdownString('Press `Enter` to get an autocompletion from Ollama');
|
||||||
// Set the command to trigger the completion
|
// Set the command to trigger the completion
|
||||||
if (continueInline || !responsePreview) item.command = {
|
if (continueInline || !responsePreview) item.command = {
|
||||||
command: 'ollama-autocoder.autocomplete',
|
command: 'fabelous-autocoder.autocomplete',
|
||||||
title: 'Autocomplete with Ollama',
|
title: 'Fabelous Autocomplete',
|
||||||
arguments: [cancellationToken]
|
arguments: [cancellationToken]
|
||||||
};
|
};
|
||||||
// Return the completion item
|
// 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
|
// Register a command for getting a completion from Ollama through command/keybind
|
||||||
const externalAutocompleteCommand = vscode.commands.registerTextEditorCommand(
|
const externalAutocompleteCommand = vscode.commands.registerTextEditorCommand(
|
||||||
"ollama-autocoder.autocomplete",
|
"fabelous-autocoder.autocomplete",
|
||||||
(textEditor, _, cancellationToken?) => {
|
(textEditor, _, cancellationToken?) => {
|
||||||
// no cancellation token from here, but there is one from completionProvider
|
// no cancellation token from here, but there is one from completionProvider
|
||||||
autocompleteCommand(textEditor, cancellationToken);
|
autocompleteCommand(textEditor, cancellationToken);
|
||||||
|
|
Loading…
Reference in New Issue