ccls icon indicating copy to clipboard operation
ccls copied to clipboard

Incorrect URIs with one of my compilation_database.json files

Open InsaneZulol opened this issue 3 years ago • 0 comments

Hey, I've been having no issues with ccls with one part of the code I've been working on. However as I switched to another compile_commands.json for a different part I'm having issues with indexing.

09:40:50 ccls           initialize.cc:329 I use -resource-dir=/home/akaluza/llvm2/llvm-project/Release/lib/clang/13.0.0
09:40:50 ccls           initialize.cc:361 I workspace folder: /var/fpwork/akaluza/
09:40:50 ccls           initialize.cc:386 I start 20 indexers
09:40:50 ccls           initialize.cc:394 I dispatch initial index requests
09:40:50 ccls             pipeline.cc:493 I loaded project. Refresh semantic highlight for all working file.
09:40:50 preamble     sema_manager.cc:770 I create session for /var/fpwork/akaluza/cppfile.cpp
09:40:50 indexer1         pipeline.cc:298 I load cache for /var/fpwork/akaluza/cppfile.cpp
09:40:51 ccls                  lsp.cc:93  W Received potentially bad URI (not starting with file://): vscode-local:/c%3A/Users/akaluza/AppData/Roaming/Code/User/globalStorage
09:40:52 ccls                  lsp.cc:93  W Received potentially bad URI (not starting with file://): vscode-local:/c%3A/Users/akaluza/AppData/Roaming/Code/User/globalStorage
10:02:20 ccls                  lsp.cc:93  W Received potentially bad URI (not starting with file://): git:/var/fpwork/akaluza/cppfile.cpp.git?%7B%[...] - following is path in the % thing format.

It's just repeating these messages over and over, never indexing any other files than this one.

Where is the git:/ thing coming from? Anything I can do to solve this?

InsaneZulol avatar Jul 08 '21 12:07 InsaneZulol