A VS Code AI coding assistant with multi-channel LLM support (Gemini/OpenAI/Anthropic), 20+ built-in tool calls, and MCP protocol extensibility
Overview#
Lim Code is a feature-rich VS Code AI coding assistant extension, currently at version 1.1.26, directly maintained by author Lianues under the MIT license. It natively supports Gemini, OpenAI, Anthropic channels along with custom-format models, and includes 20+ built-in intelligent tools that enable AI to directly manipulate codebases.
Multi-Channel Model Support#
- Gemini: Native Google Gemini API support, including Function Calling
- OpenAI: Compatible with OpenAI-format APIs (ChatGPT, Azure OpenAI, etc.)
- Anthropic: Claude series support, with adaptive thinking mode and thinking effort parameter
- Custom Format: XML / JSON tool calling formats for broader model compatibility
Intelligent Tool System (AI Agent)#
| Category | Tools | Description |
|---|---|---|
| File Operations | read_file / write_file / apply_diff / list_files / delete_file / create_directory | Full file read/write and directory management; apply_diff supports unified patch with global search-replace fallback |
| Search | find_files / search_in_files | Search files by name, search within file contents |
| Terminal | execute_command | Execute terminal commands |
| Media | generate_image / remove_background / crop_image / resize_image / rotate_image | AI image generation and editing |
| Advanced | subagent / plan / todo / insert_code / delete_code / search_and_replace | Sub-agent task dispatch, Design → Plan → Execute workflow, Todo management, Diff-based code operations |
MCP Protocol Extension#
- Supports Model Context Protocol (MCP)
- Connect external MCP servers to extend tool capabilities
- Supports both Stdio and HTTP connection modes
Context Management#
- Workspace file tree automatically sent as project structure
- Aware of currently open tabs; pinned files always included in context
- Custom prompt templates (supports
{{$VARIABLE}}variables) - Auto context trimming and auto summarization (mutually exclusive, configurable)
.gitignorerespect
Session & Diff Review#
- Auto-saved conversation history, multi-tab support (draggable reordering)
- Archive points auto-create code backups with one-click restore
- Diff tab preview with block-by-block Accept/Reject (
Ctrl+Shift+Y/Ctrl+Shift+N) - Diff threshold warning feature
Additional Features#
- Streaming tool execution (launch non-confirmation tools early during LLM output)
- Sound notifications (custom mp3 + built-in defaults)
- Review mode, Design / Plan document linkage
- Settings Sync for cross-device synchronization (most settings)
- HTTP proxy support
- Drag-and-drop files to input (images/videos/audio/documents)
- File path highlighting with click-to-navigate
- Cache hit token statistics
Architecture#
Frontend-backend separated VS Code Webview extension architecture:
- Backend: TypeScript, loaded via
extension.tsentry, containing core services, modules (channel/config/conversation/mcp/prompt/settings), and tools system - Frontend: Vue + Vite, with components/composables/stores, loaded via VS Code Webview API
- Dev Mode: Vite dev server (port 5173, HMR enabled)
- Production: Uses
frontend/diststatic files - Testing: Jest (
jest.backend.config.js), npm as package manager - Tool calling supports
function_call/xml/jsonthree default modes
Installation & Quick Start#
VS Code Marketplace: Search "LimCode" to install (direct Marketplace link unconfirmed)
VSIX Installation: Download limcode-x.x.x.vsix, Command Palette Ctrl+Shift+P → "Install from VSIX..." → select file
Build from Source:
git clone https://github.com/Lianues/Lim-Code.git
cd Lim-Code
npm install
cd frontend && npm install
npm run build
npx @vscode/vsce package
Quick Start: Click sidebar LimCode icon → Configure AI channel in settings (select type, enter API URL & API Key, add models) → Start chatting
Configuration#
All configuration managed through VS Code settings:
- Channel Config: Per-channel API URL, API Key, model list, proxy, timeout, retries
- Tool Config: Enable/disable tools, auto-execute flags, multimodal toggle, max iterations (default 50,
-1unlimited), default tool mode - Advanced Config: System prompt templates, context awareness, archive backup strategy, appearance (
limcode.ui), proxy (limcode.proxy), storage path (limcode.storagePath)
Unconfirmed Information#
- VS Code Marketplace direct link not provided in repo; formal publication status unverified
- No independent website/docs site found
- Only VS Code (
^1.74.0+) declared; no other IDE compatibility mentioned - Sub-agent (
subagent) task dispatch and result collection architecture details unconfirmed - MCP recommended external server list not provided