Context Editor
English | 简体中文
English
A visual configuration manager for *many* AI coding assistants
Manage your AI tool configurations (Claude, Gemini, Cursor, Aider, and more) in a unified VS Code sidebar
Supported Tools: Claude Code, Gemini CLI, Cursor, Aider, Roo Code, Cline, Trae, Codeium, OpenAI, Codex, Windsurf, and universal standards (MCP, Skills, Agents)
📦 Project Registration: Claude Code (~/.claude.json) and Gemini (~/.gemini/projects.json)
✨ Key Features
- 🎯 One View for All AI Tools - Stop digging through config files. See all your AI projects and configurations in one unified sidebar
- 🔗 Cross-Environment Access - Windows users: seamlessly access and edit both native and WSL environment configs
- ⚡ Quick Actions Menu - Edit, copy, or jump directly to any project through the right-click context menu
📸 Interface Preview
Unified Configuration Management
The extension provides a unified sidebar to manage all your AI tool configurations:
Global Configuration
Scans and displays global configuration directories and files in your home folder:
- AI Tool Directories:
~/.claude/, ~/.gemini/, ~/.cursor/, ~/.aider/, ~/.roo/, ~/.cline/, ~/.trae/, ~/.codeium/, ~/.openai/, ~/.codex/, ~/.github/, ~/.windsurf/
- Universal Standards:
~/.mcp/, ~/.skills/, ~/.agents/, ~/.well-known/
- Config Files:
~/.claude.json
Projects
- Project Registration: Automatically reads projects registered in Claude Code (
~/.claude.json) and Gemini CLI (~/.gemini/projects.json), merged and deduplicated by path
- Per-Project Files: Scans each project for AI tool directories and config files including
CLAUDE.md, GEMINI.md, AGENT.md, .cursorrules, .roorules, .windsurf.json, .aider.conf.yml, and more
The view title dynamically shows the current environment (e.g., "⚡ Windows", "⚡ WSL (Ubuntu)") and provides a toolbar button for quick environment switching.
Right-click on any item in the tree view to access quick actions:
| Menu Item |
Description |
| Copy Name |
Copy the item name to clipboard |
| Copy Path |
Copy the full file/directory path |
| Delete |
Delete the selected file or directory |
| Open in New Window |
Open a directory in a new VS Code window |
| Create File |
Create a new file in the selected directory |
| Create Folder |
Create a new folder in the selected directory |
📁 Tree View Structure Example
Context Editor: ⚡ Windows
├── > Global Configuration
│ ├── ~/.claude.json
│ └── > ~/.claude
│ │ ├── settings.json
│ │ └── skills/
│ └── > ~/.gemini
│ └── config.json
└── > Projects
├── project-alpha
│ └── > .claude
│ └── settings.json
├── project-beta
│ ├── CLAUDE.md
│ ├── > .claude
│ │ └── context.json
│ └── > .gemini
│ └── config.json
└── project-gamma
└── CLAUDE.md
Note: Directories (collapsible nodes) display without icons to maintain proper indentation. Files (leaf nodes) display with appropriate icons.
📦 Installation & Usage
Option 1: Install from VS Code Marketplace
- Open VS Code Extensions panel (
Ctrl+Shift+X / Cmd+Shift+X)
- Search for
Context Editor
- Click Install
Option 2: Manual Installation
- Download the latest
.vsix file
- In VS Code Extensions panel, click "..." → "Install from VSIX..."
- Select the downloaded
.vsix file
Getting Started
- Activate Extension - Extension auto-activates on VS Code startup
- Open View - Click the Context Editor icon (home icon) in the activity bar
- Browse Configuration - View unified sidebar with two main sections:
- Global Configuration: Global config files and ~/.claude/ directory
- Projects: All registered Claude projects
- Switch Environments - Click the environment indicator (e.g., "⚡ Windows") in the view title or toolbar to switch environments
- Open Files - Double-click any file to open it in the editor
Available Commands
| Command |
Shortcut |
Description |
Context Editor: Switch Environment |
Click status bar item ⚡ <Environment> or toolbar button |
Switch between available environments (Windows, WSL, macOS, Linux) |
Context Editor: Refresh |
Click refresh icon in view title |
Refresh configuration view and re-discover environments |
Context Editor: Show Debug Output |
Command Palette (Ctrl+Shift+P) |
Show debug output panel |
🛠️ Development
For development setup, contributing guidelines, and technical details, see Development Documentation.
📄 License
This project is licensed under MPL-2.0.
简体中文
面向多种 AI 编码助手的可视化配置管理器
在统一的 VS Code 侧边栏中管理你的 AI 工具配置(Claude、Gemini、Cursor、Aider 等)
支持的 AI 工具:Claude Code、Gemini CLI、Cursor、Aider、Roo Code、Cline、Trae、Codeium、OpenAI、Codex、Windsurf,以及通用标准(MCP、Skills、Agents)
📦 项目注册解析:Claude Code(~/.claude.json)和 Gemini(~/.gemini/projects.json)
✨ 核心特性
- 🎯 一屏览尽,告别翻找 - 所有 AI 工具的项目和配置,统一呈现在一个侧边栏中
- 🔗 跨环境无缝访问 - Windows 用户:直接访问和编辑本机与 WSL 环境的配置
- ⚡ 快捷操作菜单 - 通过右键菜单自由编辑、复制,或者直接进入对应项目
📸 界面预览
统一配置管理
扩展提供统一的侧边栏,管理所有 AI 工具配置:
Global Configuration(全局配置)
扫描并显示用户主目录中的全局配置目录和文件:
- AI 工具目录:
~/.claude/、~/.gemini/、~/.cursor/、~/.aider/、~/.roo/、~/.cline/、~/.trae/、~/.codeium/、~/.openai/、~/.codex/、~/.github/、~/.windsurf/
- 通用标准:
~/.mcp/、~/.skills/、~/.agents/、~/.well-known/
- 配置文件:
~/.claude.json
Projects(项目列表)
- 项目注册:自动读取在 Claude Code(
~/.claude.json)和 Gemini CLI(~/.gemini/projects.json)中注册的项目,按路径合并去重
- 项目内文件:扫描每个项目中的 AI 工具目录和配置文件,包括
CLAUDE.md、GEMINI.md、AGENT.md、.cursorrules、.roorules、.windsurf.json、.aider.conf.yml 等
视图标题动态显示当前环境(如 "⚡ Windows"、"⚡ WSL (Ubuntu)"),并提供工具栏按钮用于快速切换环境。
右键菜单
在树视图中右键点击任意项目即可访问快捷操作:
| 菜单项 |
说明 |
| 复制名称 |
复制项目名称到剪贴板 |
| 复制路径 |
复制完整的文件/目录路径 |
| 删除 |
删除选中的文件或目录 |
| 在新窗口中打开 |
在新 VS Code 窗口中打开目录 |
| 创建文件 |
在选中目录中创建新文件 |
| 创建文件夹 |
在选中目录中创建新文件夹 |
📁 树视图结构示例
Context Editor: ⚡ Windows
├── > Global Configuration
│ ├── ~/.claude.json
│ └── > ~/.claude
│ │ ├── settings.json
│ │ └── skills/
│ └── > ~/.gemini
│ └── config.json
└── > Projects
├── project-alpha
│ └── > .claude
│ └── settings.json
├── project-beta
│ ├── CLAUDE.md
│ ├── > .claude
│ │ └── context.json
│ └── > .gemini
│ └── config.json
└── project-gamma
└── CLAUDE.md
注意:目录(可展开节点)不显示图标以保持正确的缩进对齐。文件(叶子节点)显示相应的图标。
📦 安装与使用
方式一:从 VS Code Marketplace 安装
- 打开 VS Code 扩展面板(
Ctrl+Shift+X / Cmd+Shift+X)
- 搜索
Context Editor
- 点击 安装
方式二:手动安装
- 从 Releases 下载最新的
.vsix 文件
- 在 VS Code 扩展面板点击 "..." → "从 VSIX 安装..."
- 选择下载的
.vsix 文件
使用步骤
- 激活扩展 - 扩展会在 VS Code 启动时自动激活
- 打开视图 - 点击活动栏中的 Context Editor 图标(首页图标)
- 浏览配置 - 查看统一侧边栏,包含两个主要部分:
- Global Configuration:全局配置文件和 ~/.claude/ 目录
- Projects:所有已注册的 Claude Code 项目
- 切换环境 - 点击视图标题中的环境指示器(如 "⚡ Windows")或工具栏按钮切换环境
- 打开文件 - 双击任意文件即可在编辑器中打开
可用命令
| 命令 |
快捷方式 |
说明 |
Context Editor: Switch Environment |
点击状态栏项 ⚡ <环境名> 或工具栏按钮 |
在可用环境(Windows、WSL、macOS、Linux)之间切换 |
Context Editor: Refresh |
点击视图标题栏刷新图标 |
刷新配置视图并重新发现环境 |
Context Editor: Show Debug Output |
命令面板 (Ctrl+Shift+P) |
显示调试输出面板 |
🛠️ 开发
有关开发设置、贡献指南和技术细节,请参阅开发文档。
📄 许可证
本项目采用 MPL-2.0 许可证 开源。
🔗 相关链接
Made with ❤️ by piratf