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

Can bloop read ceph which this project has millions of lines of code. Whether it could use something like clangd index to accelerate index #1285

Open
Sean10 opened this issue Aug 19, 2024 · 0 comments
Labels
feature A new feature

Comments

@Sean10
Copy link

Sean10 commented Aug 19, 2024

What's the problem?
A clear and concise description of the problem. For example, I find... frustrating
Can I use bloop to read ceph which this project has millions of lines of code.
Whether it could use something like clangd index to accelerate index?

What's the solution?
I wonder if bloop could load clangd's index which could index with the compile environment.
I always use clangd to index the codebase which could provide correct reference. The clangd index

  1. mkdir build; cd build; cmake.. -DCMAKE_EXPORT_COMPILE_COMMANDS=on, Now I get compile_commands.json
  2. Provide compile_commands.json to clangd. Like vscode-clangd use -compile-commands-dir=build/compile_commands.json
  3. Now I can reference any function with clangd.
    Additional context
@Sean10 Sean10 added the feature A new feature label Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature
Projects
None yet
Development

No branches or pull requests

1 participant