diff --git a/README.md b/README.md index 401df40..535da70 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,8 @@ A simple to use Ollama autocompletion engine with options exposed and streaming ## How to Use -1. In a text document, press space *(or any character in the `completion keys` setting)*. The option `Autocomplete with Ollama` or a preview of the first line of autocompletion will appear. Press `enter` to start generation. - - Alternatively, you can run the `Autocomplete with Ollama` command from the command pallete (or set a keybind). +1. In a text document, press space *(or any character in the `completion keys` setting)*. The option `Fabelous autocompletion` or a preview of the first line of autocompletion will appear. Press `enter` to start generation. + - Alternatively, you can run the `Fabelous autocompletion` command from the command pallete (or set a keybind). 2. After startup, the tokens will be streamed to your cursor. 3. To stop the generation early, press the "Cancel" button on the "Ollama Autocoder" notification or type something. 4. Once generation stops, the notification will disappear. diff --git a/package.json b/package.json index dc239dc..dc0bdf8 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "fabelous-autocoder", "displayName": "Fabelous Autocoder", "description": "A simple to use Ollama autocompletion engine with options exposed and streaming functionality", - "version": "0.0.3", + "version": "0.0.35", "icon": "icon.png", "publisher": "fabel", "license": "CC BY-ND 4.0", @@ -121,7 +121,7 @@ "commands": [ { "command": "fabelous-autocoder.autocomplete", - "title": "Autocompletion with Ollama" + "title": "Fabelous autocompletion" } ] }, diff --git a/src/extension.ts b/src/extension.ts index 1e86ec0..4f15611 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -156,7 +156,7 @@ async function autocompleteCommand(textEditor: vscode.TextEditor, cancellationTo // Completion item provider callback for activate async function provideCompletionItems(document: vscode.TextDocument, position: vscode.Position, cancellationToken: vscode.CancellationToken) { // Create a completion item - const item = new vscode.CompletionItem("Autocomplete with Ollama"); + const item = new vscode.CompletionItem("Fabelous autocompletion"); // Set the insert text to a placeholder item.insertText = new vscode.SnippetString('${1:}'); // Wait before initializing Ollama to reduce compute usage