GitHub - emacs-lsp/emacs-ccls: Emacs client for ccls, a C/C++ language server
source link: https://github.com/emacs-lsp/emacs-ccls
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
emacs-ccls
emacs-ccls is a client for ccls, a C/C++/Objective-C language server supporting multi-million line C++ code-bases, powered by libclang.
It leverages 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
(require 'ccls) (setq ccls-executable "/path/to/ccls/Release/ccls")
Refer to https://github.com/MaskRay/ccls/wiki/lsp-mode for details.
$ccls/call
(caller/callee, with hierarchical view)
ccls-navigate
https://github.com/MaskRay/ccls/wiki/lsp-mode#ccls-navigate
License
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK