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

Generate a compile_commands.json by default with cmake #461

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

gregtatum
Copy link
Contributor

I use vscode, and this is required to get the in-editor language server working. This is a standardized file that other editors can use as well to understand the C++ code.

https://clang.llvm.org/docs/JSONCompilationDatabase.html

The following is an example of the language server providing type information.

image

@kpu kpu merged commit 62770bb into browsermt:main Aug 16, 2023
18 checks passed
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