Documentation
M0X IDE Documentation
The AI-native code editor built on VS Code. M0X integrates advanced LLM capabilities directly into your workflow for an intelligent pair programming experience.
Core AI Capabilities
Intelligent Chat
- Context-Aware: Chat with an AI that knows your files, folders, and terminal output.
- Multi-Model: Switch instantly between Claude 3.5 Sonnet, GPT-4o, Gemini 1.5 Pro, and local models.
- Thread History: Persistent chat history to revisit past conversations.
- Add Selection: Highlight code + Ctrl+L to add to context.
Quick Edit
- Inline Editing: Refactor, fix, or explain code directly in the editor.
- Diff View: Clean diff view to review changes before accepting.
- Fast Apply: Search/Replace blocks for speed or standard rewrite for complex changes.
Autocomplete
- FIM Support: Fill-In-the-Middle capability for context-aware completion.
- Smart Filtering: Automatically shows models that support FIM (Codestral, StarCoder).
- Low Latency: Optimized for speed to keep your flow uninterrupted.
AI Commit Messages
- Smart Generation: Auto-generates descriptive commit messages.
- SCM Integration: Integrated directly into the Source Control view.
Agentic Tools & MCP
M0X gives the AI agency to perform tasks on your behalf, with your permission.
Built-in Tools
- File Operationscreate_file, edit_file, read_file, list_dir, delete_file.
- Terminal IntegrationExecute shell commands directly from chat.
- Lint AwarenessAI tools see lint errors and self-correct.
- Auto-ApprovalGranular permissions for read-only vs modification tools.
Model Context Protocol (MCP)
- ExtensibilityConnect M0X to external tools and data sources via standard MCP servers.
- ManagementEnable/Disable MCP servers and view status in Settings.
Shortcuts & Keybindings
| Action | Windows / Linux | macOS |
|---|---|---|
| Quick Edit | Ctrl + K | Cmd + K |
| Add to Chat | Ctrl + L | Cmd + L |
| Open Sidebar | Ctrl + Shift + L | Cmd + Shift + L |
| Accept Diff | Ctrl + Alt + Shift + Enter | Ctrl + Option + Enter |
| Reject Diff | Ctrl + Alt + Shift + Backspace | Ctrl + Option + Backspace |
Customization
Model Providers
- Cloud: OpenAI, Anthropic, Google Gemini, Groq, Mistral, xAI.
- Local: Ollama (auto-detected).
- Enterprise: Greptile, OpenRouter.
- Custom: Any OpenAI-compatible endpoint.
Fine-Grained Control
- Sync Settings: Unified model selection across chat and SCM.
- Model Overrides: JSON config for context window/tokens.
- AI Instructions: Global custom instructions.
- Privacy Mode: Control data retention.
Context Management
@ Mentions
Reference specific files (@filename), folders (@foldername), or symbols.
Explorer Integration
Right-click 'M0X: Copy Prompt' to generate context-rich prompts.
Smart Selection
Highlight code and add it directly to context.
User Experience & Compatibility
- VS Code EngineBuilt on the latest VS Code for 100% compatibility.
- Extension EcosystemFull access to VS Code Marketplace.
- One-Click TransferImport settings from VS Code or Cursor instantly.
- Protocol HandlerSupports m0x:// protocol for deep linking.
