-
I want to use ccls instead of clangd. |
Beta Was this translation helpful? Give feedback.
Answered by
SpartanJ
Aug 6, 2024
Replies: 1 comment
-
You just need to configure the LSP server, go to: "servers": [
{
"language": "c",
"name": "ccls",
"url": "https://github.com/MaskRay/ccls",
"command": "ccls",
"file_patterns": ["%.c$", "%.h$", "%.C$", "%.H$", "%.objc$"]
},
{
"language": "cpp",
"use": "ccls",
"file_patterns": ["%.inl$", "%.cpp$", "%.hpp$", "%.cc$", "%.cxx$", "%.c++$", "%.hh$", "%.hxx$", "%.h++$", "%.objcpp$"]
}
] |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Curculigo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You just need to configure the LSP server, go to:
Settings -> Tools -> Plugin Manager -> LSP Client -> Preferences, add a new server for c and cpp:
Set the server section: