Hi, i've been trying to setup remote indexing for a few days now and it seems to not be working, i've tried different setups and tweaking in different ways but it doesn't work consistently. Here are my clangd logs as well as my configuration:
clangd log:
https://pastebin.com/LF49qMsw~/Library/Preferences/clangd/config.yaml
If:
PathMatch: /Users/samuele/Downloads/chromium/src/.*
Index:
External:
MountPoint: /Users/samuele/Downloads/chromium/src/
---
If:
PathMatch: /Volumes/lexar/chromium/src/.*
Index:
External:
MountPoint: /Volumes/lexar/chromium/src/
.vscode/settings.json
{
"clangd.path": "/Users/samuele/.local/bin/clangd",
"clangd.arguments": [
"--background-index", // should be put to --background-index=false but because sometimes remote doesn't seem to actually find the symbol or smth like that clangd merges the remote and local indexes; Background indexing fills the gaps where the remote returns 0 which seems to return 0 a lot of times.
"--compile-commands-dir=/Users/samuele/Downloads/chromium/src/out/Default",
"--clang-tidy",
"--completion-style=detailed",
"--header-insertion=never",
"--log=verbose"
],
"java.import.gradle.enabled": false,
"java.import.maven.enabled": false
}
/Users/samuele/Downloads/chromium/src/.clangd
#/Users/samuele/Downloads/chromium/src/.clangd
CompileFlags:
Remove:
---warning-suppression-mappings=*
--Xclang
--add-plugin
--plugin-arg-*
--include
-obj /**/precompile*.h-cc