Intelligent inline code completion powered by Snek LSP. Get AI-powered suggestions as you type with context-aware completions for Python, JavaScript, TypeScript, Rust, Go, C/C++, and Java.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Intelligent inline code completion powered by Snek LSP. Get AI-powered suggestions as you type with context-aware completions for multiple programming languages.
Features
AI-Powered Inline Completions - Get intelligent code suggestions as you type as ghost text
Multi-Language Support - Works with Python, JavaScript, TypeScript, Rust, Go, C/C++, Java
Context-Aware - Understands your codebase and coding patterns
Optimized Debouncing - Smart 300ms delay prevents excessive API calls
Real-Time Status - Status bar indicator shows completion state
Configuration
API key.
Setting Your API Key
Option 1: VS Code Settings (Recommended)
Open VS Code Settings (Cmd/Ctrl + ,)
Search for "Snek"
Set Snek Lsp: Api Key to your API key
Option 2: Settings JSON
Add to your .vscode/settings.json:
{
"snekLsp.apiKey": "sk-your-api-key-here"
}
Usage
Getting Started
Configure your API key (see Configuration above)
Open any supported file (.py, .js, .ts, .rs, .go, .c, .cpp, .java)
Start typing code, wait
Press Tab to accept the suggestion, or continue typing to ignore
Supported Languages
Python (.py)
JavaScript (.js)
TypeScript (.ts)
Rust (.rs)
Go (.go)
C (.c)
C++ (.cpp)
Java (.java)
Status Bar Indicators
The extension shows its status in the bottom-right corner:
Snek: Starting... - Extension is initializing
Snek: Ready - Ready to provide completions
Snek: Thinking... - Generating completion from AI
Snek: Error - Error occurred (hover for details)
Snek: No API Key - API key not configured (click to open settings)
Snek: Binary not found - Extension binary missing
How It Works
User types → Wait → Request completion → AI generates → Ghost text appears
Troubleshooting
"No API Key" Error
Solution: Configure your API key in VS Code settings:
Open Settings (Cmd/Ctrl + ,)
Search for "snekLsp.apiKey"
Enter your API key
Reload window
"Binary not found" Error
Solution: The extension should include a bundled snek binary. If you see this error:
Verify the VSIX was installed correctly
Try reinstalling the extension
No Suggestions Appearing
Solutions:
Check the status bar - it should show "Snek: Ready" when idle
Verify your API key is valid
Ensure you're editing a supported file type
Check the Output panel (View → Output → Snek Language Server) for errors
Completions Are Slow
This is normal - AI completions typically take 500-2000ms depending on: