Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emacs-lsp/emacs-ccls
Emacs client for ccls, a C/C++ language server
https://github.com/emacs-lsp/emacs-ccls
Last synced: about 1 month ago
JSON representation
Emacs client for ccls, a C/C++ language server
- Host: GitHub
- URL: https://github.com/emacs-lsp/emacs-ccls
- Owner: emacs-lsp
- Created: 2018-03-31T05:48:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-31T21:32:50.000Z (6 months ago)
- Last Synced: 2024-04-14T08:07:14.264Z (5 months ago)
- Language: Emacs Lisp
- Size: 167 KB
- Stars: 197
- Watchers: 8
- Forks: 29
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![MELPA](https://melpa.org/packages/ccls-badge.svg)](https://melpa.org/#/ccls)
# emacs-ccls
emacs-ccls is a client for [ccls](https://github.com/MaskRay/ccls), a C/C++/Objective-C language server supporting multi-million line C++ code-bases, powered by libclang.
It leverages [lsp-mode](https://github.com/emacs-lsp/lsp-mode), but also provides some ccls extensions to LSP:
* semantic highlighting
* skipped ranges (e.g. a `#if false` region)
* cross references: `$ccls/inheritance` `$ccls/call` `$ccls/vars`## Quickstart
```elisp
(require 'ccls)
(setq ccls-executable "/path/to/ccls/Release/ccls")
```Refer to for details.
`$ccls/call` (caller/callee, with hierarchical view)
### `ccls-navigate`
https://github.com/MaskRay/ccls/wiki/lsp-mode#ccls-navigate
![ccls-navigate](https://raw.githubusercontent.com/MaskRay/ccls-static/master/emacs-ccls/ccls-navigate.gif)
## License
[MIT](http://opensource.org/licenses/MIT)