devel/ccls 0.20250815.1 NetBSD
C/C++/ObjC language server
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
a4856445ee- License
- apache-2.0
- Categories
- devel
- Package size
- 425.6 KiB, 1312.4 KiB installed
Description
ccls, which originates from cquery, is a C/C++/Objective-C language server.
Its features include:
- code completion (with both signature help and snippets)
- definition/references, and other cross references
- cross reference extensions: $ccls/call $ccls/inheritance $ccls/member $ccls/vars ...
- formatting
- hierarchies: call (caller/callee) hierarchy, inheritance (base/derived) hierarchy, member hierarchy
- symbol rename
- document symbols and approximate search of workspace symbol
- hover information
- diagnostics and code actions (clang FixIts)
- semantic highlighting and preprocessor skipped regions
- semantic navigation: $ccls/navigate
It has a global view of the code base and support a lot of cross reference features, see https://github.com/MaskRay/ccls/wiki/FAQ. It starts indexing the whole project (including subprojects if exist) parallelly when you open the first file, while the main thread can serve requests before the indexing is complete. Saving files will incrementally update the index.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/ccls | 0.20250815.1 |
| FreeBSD | devel/ccls | 0.20240202 |
| DragonFly | devel/ccls | 0.20240202 |
| GhostBSD | devel/ccls | 0.20240202 |
Install
Binary package:
pkgin install ccls
From pkgsrc:
cd /usr/pkgsrc/devel/ccls && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.20250815.1 |
| NetBSD 10.1 aarch64 | 0.20250815.1 |
| SmartOS / illumos x86_64 | - |
| macOS 15 arm64 | 0.20261004nb1 |
Dependencies
Run dependencies 3
No port depends on this one.