Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Your local offline autocomplete buddyNew to Visual Studio Code? Get it now.
Your local offline autocomplete buddy

Your local offline autocomplete buddy

LlamaMama Autocomplete

|
74 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Autocomplete README

This extension integrates with the Ollama model to provide TypeScript code completions directly in VS Code. It generates intelligent suggestions for code marked with placeholders (???) and replaces them with valid TypeScript code.

Features

  • Generate TypeScript completions by calling the Ollama model.
  • Replaces ??? placeholders in your code with valid TypeScript suggestions.
  • Intelligent error handling for missing editor, API errors, or mismatched suggestions.

Here’s how the placeholder works:

For example:

function doSomething() {
    ??? write a function to add two numbers
    ??? invoke the add function with two numbers
}

The extension will replace the ??? lines with valid TypeScript code based on the prompts provided to the Ollama model.

Requirements

  • Ollama model: The extension uses the llama3.1 model, which should be available and accessible through your environment.

To install and configure the Ollama library, follow these steps:

npm install ollama

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft