To parse dependencies between symbols in a repository, the abcoder parser requires the use of language servers for various languages. Please install the corresponding language server before running the parser. ABCoder automatically installs the corresponding language server for most languages. Should the automatic installation fail, please install manually following the instructions below.
The mapping between languages and language servers is as follows:
| Language | Language Server | Essential Environment |
|---|---|---|
| Go | NA | golang 1.23+ |
| TypeScript | NA | node.js 20+ |
| Rust | rust-analyzer (official) | rust-toolchain |
| Python | pylsp (modified) | Python 3.9+ |
| C | clangd-18 (official) | clang 18+ |
| Java | eclipse-jdtls (official) | java 17+ |
Ensure the corresponding executable is in PATH before running abcoder.
- First, install the Rust language via rustup.
- Install rust-analyzer:
$ rustup component add rust-analyzer $ rust-analyzer --version # Verify successful installation
- Install Python 3.9+
- Install pylsp
$ git clone https://github.com/Hoblovski/python-lsp-server.git -b abc $ cd python-lsp-server $ pip install . $ export PATH=$(realpath ./bin):$PATH $ pylsp --version
-
Ubuntu 24.04 or later: Install directly from apt:
$ sudo apt install clangd-18
-
Other distributions: Use a manual installation. Or download a pre-compiled version from the LLVM official website. clangd is in
clang-tools-extra.