Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCLS index is rebuilt everytime I reopen project in visual studio #127

Open
DBGilles opened this issue Nov 22, 2021 · 1 comment
Open

CCLS index is rebuilt everytime I reopen project in visual studio #127

DBGilles opened this issue Nov 22, 2021 · 1 comment

Comments

@DBGilles
Copy link

Observed behavior

When I open a remote project in VIsual Studio the ccls server starts indexing the source code despite having a cached index in .ccls-cache. I can see that the ccls server is using a lot of memory, and the counters shown in the ccls info tooltip in the bottom right corner are steadily increasing.

Expected behavior

The index should not be rebuilt, the index stored in .ccls-cache should be used.

Steps to reproduce

  1. create the ccls-cache
    ccls --index=.
  2. configure ccls in visual studio
  3. close project
  4. reopen project

the cache will be rebuilt again

@moulicm111
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants