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

add compile_commands support to simplify development #29

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

wbpcode
Copy link
Collaborator

@wbpcode wbpcode commented Dec 12, 2023

This patch added a tool to generate compile_commands.json file. Then we can enable the auto complete, go-to-definition, etc. of clangd.

Thank https://github.com/hedronvision/bazel-compile-commands-extractor for it provide the great script/tool to make this so easy!

Signed-off-by: wangbaiping <wbphub@live.com>
@zyfjeff
Copy link
Collaborator

zyfjeff commented Dec 12, 2023

LGTM

@zyfjeff zyfjeff merged commit d5d1202 into alibaba:main Dec 12, 2023
2 checks passed
@wbpcode wbpcode deleted the dev-compile-commands branch December 12, 2023 23:36
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

Successfully merging this pull request may close these issues.

2 participants