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

clangd-format #6

Open
mateosss opened this issue Oct 4, 2024 · 4 comments
Open

clangd-format #6

mateosss opened this issue Oct 4, 2024 · 4 comments

Comments

@mateosss
Copy link

mateosss commented Oct 4, 2024

Are you planning on making a clangd-format equivalent? It would be very useful for CI jobs to just download clangd and have both clang-tidy and clang-format options.

In any case, thank you for making this wrapper, it is very useful!

@lljbash
Copy link
Owner

lljbash commented Nov 11, 2024

clang-format is already fast enough, so IMO there’s no strong reason to create a clangd-format solely to avoid typing pip install clang-format.

I’d love to hear your thoughts on this.

@mateosss
Copy link
Author

mateosss commented Nov 11, 2024

I agree, clang-format is already pretty fast on its own. This would be just to avoid downloading another dependency on each CI run since clangd already embeds clang-format.

@lljbash
Copy link
Owner

lljbash commented Nov 12, 2024

Sounds promising! However, I still need to confirm which option you’re expecting:

  1. An extra flag in clangd-tidy to check formatting.
  2. A standalone equivalent of clang-format.

The latter would be more complex to implement.

@mateosss
Copy link
Author

Option 1 would be great :)

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

No branches or pull requests

2 participants