一个可插入的校验器和修正器,用于强制执行协议缓冲区风格和约定。
protolint 是用于协议缓冲区文件 (proto2+proto3) 的可插入式清理/修复工具:
一旦配置了 MCP 服务器,您可以让任何 MCP 客户端(如 Claude 桌面)对协议缓冲区文件进行检查和修复,具体操作如下: 此外, vim-protolint 的工作原理如下。
protolint 现在包含对 模型上下文协议 (MCP) 的支持,这使得 AI 模型可以直接与 protolint 交互。
protolint --mcp有关如何使用和集成 protolint 的 MCP 服务器功能的详细文档,请参阅 MCP 文档。
可以通过 yoheimuta/protolint 选项卡在 Mac 或 Linux 上使用 Homebrew 安装 protolint。
brew tap yoheimuta/protolint
brew install protolint由于 homebrew-core 包含 protolint, 你也可以通过 brew install protolint 安装它。这是默认安装的默认源。这更方便,但不是由同一作者维护。为了保持最新,我建议你先运行 brew tap yoheimuta/protolint。
暂无开放 Issues,或尚未同步最近议题。