ccls icon indicating copy to clipboard operation
ccls copied to clipboard

Cache doesn't seem to be working

Open RedBeard0531 opened this issue 4 years ago • 2 comments

Observed behavior

Every time I restart nvim (or even just run :CocRestart which restarts ccls) is has to do a full re-index. Since this indexes 4374 files, this is quite painful.

Expected behavior

Restarting ccls shouldn't need to reindex anything if it was idle at the time of the restart.

Steps to reproduce

This repros every time I restart ccls

System information

  • ccls version (git describe --tags --long): 0.20201219-4-gaca02d20
  • clang version: clang version 11.0.1
  • OS: Arch linux
  • Editor: nvim-git
  • Language client (and version): coc.nvim

RedBeard0531 avatar Feb 03 '21 11:02 RedBeard0531

Hey @RedBeard0531 were you able to find a solution to this?

anandsinghkunwar avatar Apr 14 '21 12:04 anandsinghkunwar

I'm facing the same issue, but only when compile_commands.json is generated with a Clang toolchain. It works fine with GCC.

Bruflot avatar Jul 22 '21 16:07 Bruflot