macOS
brew install cmake-language-serverlocal Homebrew formula metadata
sudo port install cmake-language-serverMacPorts ports tree · devel/cmake-language-server/Portfile · 来源: api.github.com
安装
brew install cmake-language-serverlocal Homebrew formula metadata
sudo port install cmake-language-serverMacPorts ports tree · devel/cmake-language-server/Portfile · 来源: api.github.com
nix profile install nixpkgs#cmake-language-servernixpkgs package indexes · pkgs/by-name/cm/cmake-language-server/package.nix · 来源: api.github.com
概览
Language Server for CMake
历史
cmake-language-server is a Python language server for CMake files. Its own README calls it an alpha-stage CMake LSP implementation with completion, hover documentation, and formatting support through cmake-format.
The GitHub repository was created in November 2019 and the PyPI metadata points back to the same repository. The project has remained small and focused, with GitHub releases visible from v0.1.7 in 2023 through v0.1.11 in February 2025.
The README documents installation with pip and tested Neovim client setups for coc.nvim and vim-lsp. The batch input also lists Homebrew, MacPorts, and Nix package names, indicating package-manager distribution beyond Python packaging.
Editors run the cmake-language-server executable as an LSP server for CMake filetypes. The README's configuration examples pass a buildDirectory initialization option; the server uses CMake's file API under <buildDirectory>/.cmake/api after the user has configured a build tree with cmake.
Its significance is mostly practical: it packages CMake editor intelligence as a standalone LSP binary that package managers can expose consistently. That matters for users wiring Neovim, coc.nvim, vim-lsp, or other LSP clients without vendoring editor-specific plugins.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cmake-language-server | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:cmake-language-server |
|---|---|
| 版本 | 0.1.11 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/regen100/cmake-language-server |
| 仓库 | https://github.com/regen100/cmake-language-server |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cmake-language-server
nix profile install nixpkgs#cmake-language-servercmake-language-server
sudo port install cmake-language-server来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.