🍺 BREW Explorer

← all formulae

emacs-clang-complete-async

brew install emacs-clang-complete-async v0.5_7 GPL-3.0-or-later

Emacs plugin using libclang to complete C/C++ code

16
30-day installs · #7457
43
90-day · #7762
159
365-day · #7938
352
★ GitHub stars · updated 9y ago

Runtime dependencies

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "llvm"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Emacs plugin using libclang to complete C/C++ code",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:37:18+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "emacs-clang-complete-async",
  "github_default_branch": "master",
  "github_last_commit_at": "2017-01-26T16:57:53Z",
  "github_readme_excerpt": "* Introduction\n\nemacs-clang-complete-async is an emacs extension to complete C and C++ code, \nit uses libclang to parse the source code on the fly and provides completion candidates to\nauto-complete (http://cx4a.org/software/auto-complete).\n\n[[https://github.com/Golevka/emacs-clang-complete-async/raw/master/screenshots/showcase.png]]\n\nThis extension is not implemented in pure elisp, it is made up of a client part\n(auto-complete-clang-async.el, written in elisp) and a server part\n(clang-complete binary, written in C), they work cooperately in asynchonous\nclient-server fashion.\n\n* Experimental Feature - On the fly syntax checking\n\nAn experimental feature is added to this branch --- running\n=ac-clang-syntax-check= to highlight errornous lines in your souce code.\n\n[[https://github.com/Golevka/emacs-clang-complete-async/raw/master/screenshots/syntax_check.png]]\n\n\n* Setup\n\nCompile the server part (clang-complete binary) first, by executing\n=make=. The build process uses =llvm-config= to determine the location of\nlibclang and the appropriate compile flags to use. If =llvm-config= is not in\nyour path or has a different name, you can pass =make= an =LLVM_CONFIG=\nargument, e.g.  =make LLVM_CONFIG=llvm-config-3.4=.\n\nCopy auto-complete-clang-async.el and the previously compiled\nclang-complete executable to ~/.emacs.d/, and add the following code to your\n.emacs file.\n\n#+BEGIN_SRC elisp\n(require \u0027auto-complete-clang-async)\n\n(defun ac-cc-mode-setup ()\n  (setq ac-clang-complete-executable \"~/.emacs.d/clang-complete\")\n  (setq ac-sources \u0027(ac-source-clang-async))\n  (ac-clang-launch-completion-process)\n)\n\n(defun my-ac-config ()\n  (add-hook \u0027c-mode-common-hook \u0027ac-cc-mode-setup)\n  (add-hook \u0027auto-complete-mode-hook \u0027ac-common-setup)\n  (global-auto-complete-mode t))\n\n(my-ac-config)\n#+END_SRC\n\nNow emacs-clang-complete-async will show completion candidates automatically\nwhen you type as usual in C or C++ mode.\n\n\n* Usage\n\nThis extension fades in emacs C/C++ mode and provides candidates\naut",
  "github_repo": "Golevka/emacs-clang-complete-async",
  "github_stars": 352,
  "github_topics": [],
  "homepage": "https://github.com/Golevka/emacs-clang-complete-async",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 16,
  "installs_365d": 159,
  "installs_90d": 43,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "GPL-3.0-or-later",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "emacs-clang-complete-async",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 7457,
  "rank_365d": 7938,
  "rank_90d": 7762,
  "raw_hash": "39458e5f14add7d4",
  "recommended_dependencies": [],
  "revision": 7,
  "ruby_source_path": "Formula/e/emacs-clang-complete-async.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "0.5",
  "versioned_formulae": [],
  "why_use_this": null
}