Skip to content

How to format node core cpp code on MacOS #43311

Answered by Trott
F3n67u asked this question in General
Discussion options

You must be logged in to vote

I think you need to run make format-cpp-build one time and that will install tools/clang-format/node_modules/.bin/clang-format and the make format-cpp command will (hopefully) start working after that.

There is also make format-cpp-clean which is useful if make format-cpp-build fails for some reason.

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
9 replies
@Trott
Comment options

@F3n67u
Comment options

F3n67u Jun 5, 2022
Collaborator Author

@F3n67u
Comment options

F3n67u Jun 5, 2022
Collaborator Author

@Trott
Comment options

@F3n67u
Comment options

F3n67u Jun 6, 2022
Collaborator Author

Answer selected by F3n67u
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants