You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@resilientdb.apache.org by "harish876 (via GitHub)" <gi...@apache.org> on 2024/11/09 08:33:48 UTC
[PR] Integrate clangd Autocomplete Support into Bazel C++ Project [incubator-resilientdb]
harish876 opened a new pull request, #164:
URL: https://github.com/apache/incubator-resilientdb/pull/164
This PR introduces configuration changes to enable autocomplete functionality for C++ development in a Bazel-based project using clangd as the Language Server Protocol (LSP). The key changes include:
1. Addition Official Bazel Autocomplete Support from [hedronvision/bazel-compile-commands-extractor](https://github.com/hedronvision/bazel-compile-commands-extractor)
2. Run the command ```bazel run @hedron_compile_commands//:refresh_all```. Generates a compile_command.json
3. Provides Autocomplete, GotoDefinition, Signature Hover etc.
4. Tested on Ubuntu 20.04 on neovim 0.10.2.
<img width="2048" alt="Screenshot 2024-11-09 at 12 33 14 AM" src="https://github.com/user-attachments/assets/30a6bc74-7260-4c71-ab3c-29ad49e8dba9">
<img width="2048" alt="Screenshot 2024-11-09 at 12 32 22 AM" src="https://github.com/user-attachments/assets/c180698a-3a57-4d37-adc5-d583b7b3f17d">
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@resilientdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Integrate clangd Autocomplete Support into Bazel C++ Project [incubator-resilientdb]
Posted by "harish876 (via GitHub)" <gi...@apache.org>.
harish876 closed pull request #164: Integrate clangd Autocomplete Support into Bazel C++ Project
URL: https://github.com/apache/incubator-resilientdb/pull/164
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@resilientdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org