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

Tidy-Fix is executed by Tidy On Save instead of clang-tidy as stated #1335

Open
lucasstern opened this issue Nov 20, 2023 · 0 comments
Open

Comments

@lucasstern
Copy link

I don’t know if this is the desired functionality of the toggle “Tidy on save” on the Tidy tab in Settings. But, when I enable it and save a file, CL runs a Tidy-Fix instead of only a Tidy as described on the tooltip. This can cause problems if I want to just check the errors and warnings from clang-tidy, without applying the fixes automatically. I expected that Tidy on save would only perform a code analysis, without modifying anything. Is there any way to configure this? Or is this a bug?

image

After saving the code file:

image

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

1 participant