Emacs: add ccls-navigate

Fangrui Song 2018-09-06 09:28:25 -07:00
parent 0931de3b3a
commit 6bdc58c060

@ -266,6 +266,21 @@ For the long story, refer to the corresponding [emacs-devel thread](https://list
![$ccls/inheritanceHierarchy](https://ptpb.pw/JkyT.gif) ![$ccls/inheritanceHierarchy](https://ptpb.pw/JkyT.gif)
### `ccls-navigate`
Think of them as `sp-{down,previous,next,down}-sexp` for C/C++, roughly movement among declarations.
```elisp
(ccls-navigate "D") ;; roughly sp-down-sexp
(ccls-navigate "L")
(ccls-navigate "R")
(ccls-navigate "U")
```
https://www.reddit.com/r/emacs/comments/9dg13i/cclsnavigate_semantic_navigation_for_cc/
![](https://ptpb.pw/HXtM.gif)
### Misc ### Misc
For out-of-band changes to the files in the workspace that are not made in the LSP client (e.g. git pull), call For out-of-band changes to the files in the workspace that are not made in the LSP client (e.g. git pull), call