Skip to content

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

@DBGilles

Description

@DBGilles

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions