Claude Files Pane 可视化 Claude Code 文件操作
AI 总结
开发者 Marius Adam 发布免费且采用 MIT 许可证的 Claude Files Pane,可在 Claude Code 对话旁实时显示文件树。根据开发者自述,该插件区分 Claude 读取和编辑的文件,并展示差异与提交状态,还支持搜索、@提及和在编辑器中打开文件。其适用于 macOS 和 Linux 上的 Claude Code 桌面应用、VS Code 扩展及终端。
深度见解
该插件为 Claude Code 用户提供了文件活动、差异和提交状态的可视化界面;开发者称其采用只读模式,数据不会离开本机。
Why I built it
I used to spend most of my day in a code editor. Lately I’m in the Claude app and the CLI more and more, and I started losing touch with the codebase: which files changed, what got committed, whether a new pattern was creeping in.
What it does
A pane beside the chat that updates while Claude works:
It works in the desktop app, the VS Code extension and the terminal, on macOS and Linux. It’s read-only, and nothing leaves your machine.
How I built it with Claude Code
I built the whole thing with Claude Code, with the pane open beside the chat the whole time, so it was showing Claude working on its own code. I described what I wanted and checked each change in the pane, and Claude wrote the code and the tests.
One bug taught me something worth passing on. In the terminal, the file-type labels showed up as solid coloured blocks. Claude traced it to the colours: they carried a transparency value, which the desktop app blends but the terminal draws as solid, so each label sat inside a block of its own colour. Claude wrote a test that fails if the terminal is ever handed a see-through colour, then fixed the pane until it passed. If you’re building a Claude Code mod for more than one surface, test each surface separately: something that looks right on the desktop can break in the terminal.
Free to try
It’s free and open source (MIT). Install it from a terminal: claude plugin marketplace add Marius-Adam/claude-files-pane claude plugin install files-pane@marius-adam
Restart Claude Code and the pane opens beside the chat.
https://github.com/Marius-Adam/claude-files-pane
If you work on bigger changes than I do, I’d like to hear how it holds up. submitted by /u/mCadamek
[link] [comments] |