Questions tagged [ccls]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
48 views

Store output of xref-find-apropos in a variable within elisp code

Is it possible to extract the results returned by xref-find-apropos to a variable within elisp code? In particular, I want to get all files names where the found symbol occurs. So what I want is ...
Evgenii.Balai's user avatar
2 votes
1 answer
243 views

Hide ifdef(or gray out) through compile_command.json

I've just finished to set up LSP with ccls and company packages. It works but I have one more possible wish that such LSP packages could do. Now I'm using hide-ifdef package to gray out the inactve ...
windrg00's user avatar
  • 121
1 vote
1 answer
2k views

lsp mode does not recognize standard library

Today I did two things: I upgraded some emacs packages (don't know which ones) I installed in addition to emacs 27.1, emacs 28 with native compilation I built the "gccemacs" in a separate ...
Andi's user avatar
  • 81
3 votes
1 answer
1k views

How can I set the indentation offset for `indent-region`

I am using spacemacs + lsp layer (ccls) for c/c++ editing Having my c-basic-offset set to 4: if I select a region and press = (maybe invoking indent-region?), the region is indented by 2 spaces (...
shpark's user avatar
  • 133
0 votes
0 answers
425 views

Suppress the message (LSP :: not indexed)

I couldn't find an option to suppress this message on unindexed files. In my repo I have C++ files that I dont want to index and this message keeps showing up when moving the cursor between code ...
SFbay007's user avatar
  • 554
2 votes
1 answer
310 views

use .dir-locals.el to setup blacklist (based on projectile root) for ccls (c++mode server)

I use this setup to setup blacklists for ccls in my project: ( (prog-mode (ccls-initialization-options . (:index (:blacklist [ "^/Users/xxx/proj/dir1/" "^/Users/xxx/proj/dir2/(dir3|dir4)/"]))) ) How ...
SFbay007's user avatar
  • 554