Caphyon / clang-power-tools

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

`Compile` and `Tidy` options are not available for modules (*.ixx) #1282

Closed jovibor closed 1 year ago

jovibor commented 1 year ago

They are greyed out.

image

If I rename the file to have .cpp extension it all works fine.

mariru27 commented 1 year ago

Hi @jovibor,

Upon further investigation, it appears that the Clang Compile and Tidy options for modules with the .ixx extension are not currently implemented. However, I appreciate you bringing this to our attention and suggesting this functionality

We will look into this and explore the possibility of implementing these options for modules with the .ixx extension. We will keep you updated on any progress or developments related to this issue

Thank you for your feedback and for helping us improve our system

Kind regards, Marina

mariru27 commented 1 year ago

Hi @jovibor,

Can you help us by testing the Clang Power Tools VSIX and letting us know if it behaves as intended? If it doesn't meet your expectations, could you provide us with a sample project to test on? I'm not very familiar with modules, so this would be very helpful for me

Kind regards, Marina

jovibor commented 1 year ago

Hi @mariru27,

This one seems to be working as expected, thank you!

As a sample you can use this project, it consist of exactly two files: .cpp and .ixx

mariru27 commented 1 year ago

I am glad to hear that

Great to know! I appreciate your assistance and the sample provided @jovibor I'll keep you informed about any updates or progress on this issue

Have a nice day, Marina

mariru27 commented 1 year ago

Hi @jovibor,

The fix for this problem is available in release v2023.5.0 for Clang Power Tools

Thank you for your help, means a lot for our product

Have a nice day, Marina