devel/ccls - The NetBSD Packages Collection

C/C++/ObjC language server

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.

Build dependencies

textproc/rapidjson devel/cmake pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

archivers/zstd lang/clang textproc/libxml2 lang/clang textproc/libxml2

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64ccls-0.20230717nb1.tgz
NetBSD 10.0aarch64ccls-0.20220729nb1.tgz
NetBSD 10.0aarch64ccls-0.20230717nb1.tgz
NetBSD 10.0aarch64ebccls-0.20230717nb1.tgz
NetBSD 10.0aarch64ebccls-0.20230717nb1.tgz
NetBSD 10.0powerpcccls-0.20220729nb1.tgz
NetBSD 10.0x86_64ccls-0.20230717nb1.tgz
NetBSD 10.0x86_64ccls-0.20230717nb1.tgz
NetBSD 9.0aarch64ccls-0.20230717nb1.tgz
NetBSD 9.0aarch64ccls-0.20220729nb1.tgz
NetBSD 9.0aarch64ccls-0.20230717nb1.tgz
NetBSD 9.0powerpcccls-0.20230717nb1.tgz
NetBSD 9.0powerpcccls-0.20220729nb1.tgz
NetBSD 9.0sparc64ccls-0.20220729.tgz
NetBSD 9.0x86_64ccls-0.20230717nb1.tgz
NetBSD 9.0x86_64ccls-0.20230717nb1.tgz
NetBSD 9.3x86_64ccls-0.20230717nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.