Skip to content

Force the usage of embedded clang-format #7117

Answered by sean-mcmanus
KaeLL asked this question in Q&A
Discussion options

You must be logged in to vote

The bundled version of clang-format is supposed to automatically be used if the version is newer. Is that not working for you? Are you sure you don't have the C_Cpp.clang_format_path setting set? The code that does this is around https://github.com/microsoft/vscode-cpptools/blob/main/Extension/src/LanguageServer/settings.ts#L106 if you feel like debugging what is going wrong.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@sean-mcmanus
Comment options

@KaeLL
Comment options

@sean-mcmanus
Comment options

@KaeLL
Comment options

@sean-mcmanus
Comment options

Answer selected by KaeLL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants