<?xml version="1.0" encoding="utf-8"?>
<!--Copyright, Microsoft Corporation, All rights reserved.-->
<Rule Name="Microsoft.CodeAnalysis.ClangTidy" PageTemplate="tool" DisplayName="Code Analysis" Order="200" xmlns="http://schemas.microsoft.com/build/2009/properties" xmlns:sys="clr-namespace:System;assembly=mscorlib">

  <Rule.Categories>
    <Category Name="ClangTidy" DisplayName="Clang-Tidy"/>
  </Rule.Categories>
  <Rule.DataSource>
    <DataSource Persistence="ProjectFile" HasConfigurationCondition="true"/>
  </Rule.DataSource>

  <StringProperty Name="ClangTidyChecks" Category="ClangTidy" DisplayName="要启用或禁用的检查" Description="指定在运行 clang-tidy 时要启用/禁用的检查。   (--checks=[检查])" F1Keyword="vs.codeanalysis.propertypages.native"/>

  <StringProperty Name="ClangTidyToolPath" Category="ClangTidy" DisplayName="Clang-Tidy 工具目录" Subtype="folder" Description="clang-tidy.exe 的位置" F1Keyword="vs.codeanalysis.propertypages.ClangTidyToolPath"/>

</Rule>
