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

Provide clangd configuration pointing to public remote index #23

Open
i-ky opened this issue Oct 7, 2022 · 3 comments
Open

Provide clangd configuration pointing to public remote index #23

i-ky opened this issue Oct 7, 2022 · 3 comments

Comments

@i-ky
Copy link

i-ky commented Oct 7, 2022

It is documented how to point clangd to LLVM public remote index server. I am wondering if it would be possible to provide .clangd configuration file pointing to LLVM public remote index server as part of llvm/llvm-project. This way "batteries are included" and potential LLVM contributors can benefit from remote index as soon as source code is checked out, no extra configuration is needed.

@i-ky
Copy link
Author

i-ky commented Oct 7, 2022

I've tried to add such .clangd file in the root of llvm/llvm-project checkout:

Index:
  External:
    Server: clangd-index.llvm.org:5900

Remote index may not be specified by untrusted configuration. Copy this into user config to use it.

@i-ky
Copy link
Author

i-ky commented Oct 7, 2022

clangd/clangd#908 is related.

@i-ky
Copy link
Author

i-ky commented Oct 10, 2022

clangd/vscode-clangd#318 is also related.

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

1 participant