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 clangd config check in checkCompileCommandsConfig() #10

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

YangGangUEFI
Copy link
Contributor

if vscode-clangd installed but --compile-commands-dir= is not setting or setting is not "${workspaceFolder}/.edkCode/", then update clangd.arguments to include: "--compile-commands-dir=${workspaceFolder}/.edkCode/".

if vscode-clangd is not installed, still call infoMissingCompilesCommandCpp()

BTW: As the message in infoMissingCompilesCommandCpp() has been updated, so this wiki page may need update to include some material about vscode-clangd.

if vscode-clangd installed but `--compile-commands-dir=`
is not setting or setting is not "${workspaceFolder}/.edkCode/",
then update clangd.arguments to include:
"--compile-commands-dir=${workspaceFolder}/.edkCode/".

if vscode-clangd is not installed, still call infoMissingCompilesCommandCpp()

Signed-off-by: Yang Gang <yanggang@byosoft.com.cn>
@gapalomi gapalomi merged commit 8e6eab4 into intel:main Dec 16, 2024
@gapalomi
Copy link
Contributor

Thanks @YangGangUEFI , I will include this change in the following release

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