提交 931dd927 编写于 作者: T tmeschter

Add telemetry about the Analyzers node.

This change captures a telemetry data point the first time the Analyzers node or a child analyzer node is expanded in Solution Explorer. The intent is to capture data on how many users interact with this part of Solution Explorer.

Note that for any given node we only capture a data point the first time it is expanded. Collapsing and re-opening the node will not cause further data points to be captured, nor will adding or removing analyzers.

The data point also captures data on the number of analyzers, and the number of diagnostics in an analyzer. (changeset 1351286)
上级 ee213176
......@@ -278,6 +278,9 @@ internal enum FunctionId
CodeFixes_FixAllOccurrencesComputation_Diagnostics,
CodeFixes_FixAllOccurrencesComputation_Fixes,
CodeFixes_FixAllOccurrencesComputation_Merge,
CodeFixes_FixAllOccurrencesPreviewChanges
CodeFixes_FixAllOccurrencesPreviewChanges,
SolutionExplorer_AnalyzerItemSource_GetItems,
SolutionExplorer_DiagnosticItemSource_GetItems,
}
}
\ No newline at end of file
......@@ -259,6 +259,7 @@
<InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices" />
<InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.CSharp" />
<InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.Implementation" />
<InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.SolutionExplorer" />
<InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.VisualBasic" />
<InternalsVisibleTo Include="csi" />
<InternalsVisibleTo Include="Roslyn.CSharp.InteractiveEditorFeatures" />
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册