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

Does this tool support VS 2019? Why it finds on VS 2022 instead of 2019? #1338

Closed jakitliang closed 6 months ago

jakitliang commented 6 months ago

My environment:

By these step:

  1. Pop menu select Clang Power Tools
  2. Export compilation database

And these result:

PROJECT #15: G:\Projects\xxx\yyy.vcxproj [Release|Win32]
VsWhere could not detect Visual Studio 2022 *.
所在位置 C:\users\jk\appdata\local\microsoft\visualstudio\16.0_2c3771bf\extensions\4hhwyreq.tpb\Tooling\v1\psClang\visualstudio-detection.ps1:168 字符: 17
+ ...             throw "VsWhere could not detect Visual Studio $($global:c ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (VsWhere could n... Studio 2022 *.:String) [], RuntimeException
    + FullyQualifiedErrorId : VsWhere could not detect Visual Studio 2022 *.