Intent Coder is a VS Code extension that converts small, explicit programmer intents into correct, language-specific code at the cursor — one snippet at a time. It accelerates your coding speed by matching intents against deterministic local templates first, with a fallback to a clean LLM generation if no template is found.
Features
Line Intent → Snippet (Enter): Type an intent (e.g. fast io or read array) on a line and press Enter to expand it.
Selection → Action Menu (Ctrl+Enter): Select a block of code and press Ctrl+Enter to optimize, comment, explain, or translate it.
Template Library: Insert common algorithmic and data structure boilerplate fully offline.
Language Switching (Ctrl+Alt+L): Quickly swap target languages and re-resolve intents.
Commands
The extension contributes the following commands to the Command Palette:
Command ID
Title
Keybinding
intentCoder.resolveLine
Intent Coder: Resolve Line
Enter (when editing)
intentCoder.selectionMenu
Intent Coder: Selection Actions
Ctrl+Enter (when text selected)
intentCoder.switchLanguage
Intent Coder: Switch Language
Ctrl+Alt+L
intentCoder.insertTemplate
Intent Coder: Insert Template
None (Palette only)
intentCoder.openTemplateEditor
Intent Coder: Edit Custom Templates
None (Palette only)
Configuration Settings
Customize Intent Coder behavior using the following VS Code settings:
intentCoder.triggerKey: Key to resolve intent on a line (options: "enter", "tab", "none", default: "enter").