What can be configured there?
I follow the instructions
https://chromium.googlesource.com/chromium/src/+/main/docs/mac_build_instructions.mdAfter cloning depot_tools and fetching chromium next steps are:
1) gn gen out/Default
2) ninja -C out/Default chrome
3) python3 src/tools/clang/scripts/generate_compdb.py -p src/out/Default > compile_commands.json
4) copy tools/vscode to .vscode
5) add clangd.path to ${workspaceFolder}/third_party/llvm-build/Release+Asserts/bin/clangd
6) add clangd.arguments to --background-index=false and --pch-storage=memory
7) open VSCode with clangd installed.
8) done
I would like to add that some files open successfully, while others have quite a lot of diagnostic errors, and when you start entering text, clangd restarts (crash)
For example I couldn't open window_sizer.cc either chrome/browser/ui/browser_commands.cc, clangd stop work due to many errors (there shouldn't be any, and -ferror-limit=0 is not a solution).