{"id":13419422,"url":"https://github.com/jacobdufault/cquery","last_synced_at":"2025-12-11T22:13:44.102Z","repository":{"id":41569256,"uuid":"88580766","full_name":"jacobdufault/cquery","owner":"jacobdufault","description":"C/C++ language server supporting multi-million line code base, powered by libclang. Emacs, Vim, VSCode, and others with language server protocol support. Cross references, completion, diagnostics, semantic highlighting and more","archived":true,"fork":false,"pushed_at":"2020-07-29T17:15:12.000Z","size":5065,"stargazers_count":2342,"open_issues_count":156,"forks_count":163,"subscribers_count":90,"default_branch":"master","last_synced_at":"2024-08-05T02:01:17.312Z","etag":null,"topics":["cpp","language-server-protocol","lsp"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jacobdufault.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-18T04:15:24.000Z","updated_at":"2024-07-24T21:08:14.000Z","dependencies_parsed_at":"2022-09-13T08:12:03.527Z","dependency_job_id":null,"html_url":"https://github.com/jacobdufault/cquery","commit_stats":null,"previous_names":["cquery-project/cquery"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobdufault%2Fcquery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobdufault%2Fcquery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobdufault%2Fcquery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobdufault%2Fcquery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jacobdufault","download_url":"https://codeload.github.com/jacobdufault/cquery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234583683,"owners_count":18856280,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","language-server-protocol","lsp"],"created_at":"2024-07-30T22:01:15.810Z","updated_at":"2025-09-29T02:31:57.821Z","avatar_url":"https://github.com/jacobdufault.png","language":"C++","readme":"# Archived\n\ncquery is no longer under development. [clangd](https://clangd.llvm.org/installation.html) and [ccls](https://github.com/MaskRay/ccls) are both good replacements.\n\n# cquery\n\n[![Join the chat at https://gitter.im/cquery-project/Lobby](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/cquery-project/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n\ncquery is a highly-scalable, low-latency language server for C/C++/Objective-C. It is tested\nand designed for large code bases like\n[Chromium](https://chromium.googlesource.com/chromium/src/). cquery provides\naccurate and fast semantic analysis without interrupting workflow.\n\n![Demo](https://ptpb.pw/GlSQ.png?raw=true)\n\ncquery implements almost the entire language server protocol and provides\nsome extra features to boot:\n\n  * code completion (with both signature help and snippets)\n  * finding [definition](src/messages/text_document_definition.cc)/[references](src/messages/text_document_references.cc)\n  * [call (caller/callee) hierarchy](src/messages/cquery_call_hierarchy.cc), [inheritance (base/derived) hierarchy](src/messages/cquery_inheritance_hierarchy.cc)\n  * [symbol rename](src/messages/text_document_rename.cc)\n  * [document symbols](src/messages/text_document_document_symbol.cc) and approximate search of [workspace symbol](src/messages/workspace_symbol.cc)\n  * [hover information](src/messages/text_document_hover.cc)\n  * diagnostics\n  * code actions (clang FixIts)\n  * preprocessor skipped regions\n  * #include auto-complete, undefined type include insertion, include quick-jump\n    (goto definition, document links)\n  * auto-implement functions without a definition\n  * semantic highlighting, including support for [rainbow semantic highlighting](https://medium.com/@evnbr/coding-in-color-3a6db2743a1e)\n\n# \u003e\u003e\u003e [Getting started](https://github.com/cquery-project/cquery/wiki) (CLICK HERE) \u003c\u003c\u003c\n\n\u003ca href=\"https://repology.org/metapackage/cquery\"\u003e\n  \u003cimg src=\"https://repology.org/badge/vertical-allrepos/cquery.svg\" alt=\"Packaging status\" align=\"right\"\u003e\n\u003c/a\u003e\n\n# Limitations\n\ncquery is able to respond to queries quickly because it caches a huge amount of\ninformation. When a request comes in, cquery just looks it up in the cache\nwithout running many computations. As a result, there's a large memory overhead.\nFor example, a full index of Chrome will take about 10gb of memory. If you\nexclude v8, webkit, and third_party, it goes down to about 6.5gb.\n\n# License\n\nMIT\n","funding_links":[],"categories":["TODO scan for Android support in followings","C++"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacobdufault%2Fcquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacobdufault%2Fcquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacobdufault%2Fcquery/lists"}