• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/H31-Mar-2021-3724

index_tests/H31-Mar-2021-10,3181,000

src/H31-Mar-2021-14,74912,358

third_party/H31-Mar-2021-309221

.appveyor.ymlH A D31-Mar-2021642 2317

.clang-formatH A D31-Mar-202119 21

.gitignoreH A D31-Mar-2021130 1211

.gitmodulesH A D31-Mar-2021110 43

LICENSEH A D31-Mar-202111.1 KiB202169

README.mdH A D31-Mar-20211.9 KiB3022

README.md

1# ccls
2
3[![Telegram](https://img.shields.io/badge/telegram-@cclsp-blue.svg)](https://telegram.me/cclsp)
4[![Gitter](https://img.shields.io/badge/gitter-ccls--project-blue.svg?logo=gitter-white)](https://gitter.im/ccls-project/ccls)
5
6ccls, which originates from [cquery](https://github.com/cquery-project/cquery), is a C/C++/Objective-C language server.
7
8  * code completion (with both signature help and snippets)
9  * [definition](src/messages/textDocument_definition.cc)/[references](src/messages/textDocument_references.cc), and other cross references
10  * cross reference extensions: `$ccls/call` `$ccls/inheritance` `$ccls/member` `$ccls/vars` ...
11  * formatting
12  * hierarchies: [call (caller/callee) hierarchy](src/messages/ccls_call.cc), [inheritance (base/derived) hierarchy](src/messages/ccls_inheritance.cc), [member hierarchy](src/messages/ccls_member.cc)
13  * [symbol rename](src/messages/textDocument_rename.cc)
14  * [document symbols](src/messages/textDocument_document.cc) and approximate search of [workspace symbol](src/messages/workspace.cc)
15  * [hover information](src/messages/textDocument_hover.cc)
16  * diagnostics and code actions (clang FixIts)
17  * semantic highlighting and preprocessor skipped regions
18  * semantic navigation: `$ccls/navigate`
19
20It has a global view of the code base and support a lot of cross reference features, see [wiki/FAQ](../../wiki/FAQ).
21It 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.
22Saving files will incrementally update the index.
23
24# >>> [Getting started](../../wiki/Home) (CLICK HERE) <<<
25
26* [Build](../../wiki/Build)
27* [FAQ](../../wiki/FAQ)
28
29ccls can index itself (~180MiB RSS when idle, noted on 2018-09-01), FreeBSD, glibc, Linux, LLVM (~1800MiB RSS), musl (~60MiB RSS), ... with decent memory footprint. See [wiki/Project-Setup](../../wiki/Project-Setup) for examples.
30