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

Report clang-format violations in Problems window #12986

Open
jalanh11640 opened this issue Nov 21, 2024 · 2 comments
Open

Report clang-format violations in Problems window #12986

jalanh11640 opened this issue Nov 21, 2024 · 2 comments
Labels

Comments

@jalanh11640
Copy link

jalanh11640 commented Nov 21, 2024

Feature Request

Pretty much the title. I would love to see an option that would report clang-format violations in the Problems window.

Thanks

@sean-mcmanus
Copy link
Contributor

@jalanh11640 Do you have a proposal for how that would be implemented? Right now, I don't believe clang-format itself has a "report violation" capability: https://clang.llvm.org/docs/ClangFormat.html . Does any other IDE support clang-format showing unformatted code as an error/warning?

@bobbrow
Copy link
Member

bobbrow commented Nov 21, 2024

Theoretically, we could run the formatting and analyze the edits that come back from clang-format without actually applying them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

3 participants