Caphyon / clang-power-tools

Bringing clang-tidy magic to Visual Studio C++ developers.
http://www.clangpowertools.com
Apache License 2.0
472 stars 57 forks source link

Format on save does not work in VS 2022 17.7.0 #1310

Closed magnesj closed 10 months ago

magnesj commented 10 months ago

Environment VS 2022 17.7.0 Clang Powertools 2023.7.0

Descriptions Format on save does not work in VS 2022 17.7.0 Pushing the format button on the toolbar works as expected.

image

Tyranisaur commented 10 months ago

For what it's worth, considering adding a vote here https://developercommunity.visualstudio.com/t/Add-option-to-trigger-C-clang-format-o/1461356 because having this built in to Visual Studio itself is probably both what everyone wants and should lead to less breakage of the feature.

Also, while I'm here, this also doesn't work in Visual Studio 2022 17.8.0 Preview 1.0

serkanergun commented 10 months ago

I recently upgraded to 17.7.0 and I noticed the same issue. Couldn't find a workaround so far.

mariru27 commented 10 months ago

Hi @magnesj, @Tyranisaur, @serkanergun,

Apologies for the delayed response. We have identified the issue and are actively working on a solution. A release containing the bug fix will be made available shortly.

Thank you for letting us know about this issue

Best regards, Marina

mariru27 commented 10 months ago

Hi @magnesj, @Tyranisaur, @serkanergun,

Great news! The bug you reported has been fixed in Clang Power Tools release v2023.8.0

Your input is incredibly valuable, and we extend our heartfelt thanks for alerting us to this issue.

Kind regards, Marina

magnesj commented 10 months ago

Thanks, I appreciate the quick feedback. Thanks for providing a very useful tool.