Conti is a lightweight, high-performance VS Code extension that provides AI-powered tab autocomplete and next edit prediction. It's the streamlined version of the full Continue project, focusing only on the essential autocomplete functionality.
- Startup time < 500ms
- Latency < 300ms
- Memory usage < 50MB
- Minimal dependencies
- Real-time code suggestions as you type
- Support for multiple programming languages
- Context-aware completions
- Integration with popular LLM providers
- Predictive edit suggestions
- Learn from your coding patterns
- Improve productivity with intelligent recommendations
- Easy setup with just 4 settings
- No complex configuration required
- Works out of the box with popular models
Coming soon to the VS Code Marketplace
# Clone the repository
git clone https://github.com/continuedev/conti.git
cd conti
# Install dependencies
npm install
# Build the extension
npm run build
# Package for VS Code
npm run build:package- Install the extension in VS Code
- Set your API key in settings:
{ "conti.apiKey": "your-api-key-here" } - Choose your preferred model (default: gpt-4):
{ "conti.model": "gpt-4" } - Start typing and enjoy AI-powered autocomplete!
Conti provides four simple configuration options:
| Setting | Type | Default | Description |
|---|---|---|---|
conti.enableTabAutocomplete |
boolean | true |
Enable tab autocomplete feature |
conti.enableNextEdit |
boolean | true |
Enable next edit prediction feature |
conti.model |
string | "gpt-4" |
Default model to use for autocomplete |
conti.apiKey |
string | "" |
API key for the selected model |
- OpenAI:
gpt-4,gpt-3.5-turbo - Anthropic:
claude-3-opus,claude-3-sonnet - Local models via Ollama
- Node.js >= 20.19.0
- npm >= 8.19.0
- VS Code >= 1.70.0
- Just (optional, for convenient build commands)
# Install dependencies
npm install
# Start development mode
npm run dev
# Run tests
npm test
# Build for production
npm run build
# Format code
npm run format
# Lint code
npm run lintIf you have Just installed, you can use these convenient commands:
# Install all dependencies
just install
# Build the extension
just build
# Package as VSIX
just package-vsix
# Development mode with watch
just dev
# Run tests
just test
# Run tests with coverage
just test-coverage
# Run all quality checks
just ci
# Format and lint code
just format
just lint
just lint-fix
# Check formatting
just format-check
# Clean build artifacts
just clean
# Full development setup
just setup
# Build and package for release
just releaseconti/
├── src/ # Main extension source
│ ├── extension.ts # Extension entry point
│ ├── autocomplete/ # Autocomplete functionality
│ ├── config/ # Configuration management
│ └── utils/ # Utility functions
├── core/ # Core autocomplete engine
├── packages/ # Shared packages
├── tests/ # Test files
├── scripts/ # Build and utility scripts
├── docs/ # Documentation
└── extensions/vscode/ # VS Code specific files
| Command | Keybinding | Description |
|---|---|---|
conti.toggleTabAutocompleteEnabled |
Ctrl+K Ctrl+A (Mac: Cmd+K Cmd+A) |
Toggle autocomplete on/off |
conti.forceAutocomplete |
Ctrl+Alt+Space (Mac: Cmd+Alt+Space) |
Force autocomplete at cursor |
conti.toggleNextEditEnabled |
Ctrl+K Ctrl+N |
Toggle next edit prediction |
conti.openConfigPage |
- | Open configuration settings |
Conti is optimized for performance with the following targets:
- Startup Time: < 500ms
- Autocomplete Latency: < 300ms
- Memory Usage: < 50MB
- Bundle Size: < 5MB
We welcome contributions! Please read our Contributing Guide for details on how to:
- Report bugs
- Request features
- Submit pull requests
- Set up your development environment
Apache License 2.0 © 2024 Continue Dev, Inc.
Built with ❤️ by the Continue team
