Skip to content

Commit 097f891

Browse files
authored
Merge pull request #6043 from dibarbet/report_omnisharp_usage
Report how the extension was activated
2 parents fccdca6 + 52222b5 commit 097f891

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,11 @@ export async function activate(
314314
);
315315
}
316316

317+
const activationProperties: { [key: string]: string } = {
318+
serverKind: useOmnisharpServer ? 'OmniSharp' : 'Roslyn',
319+
};
320+
reporter.sendTelemetryEvent('CSharpActivated', activationProperties);
321+
317322
if (!useOmnisharpServer) {
318323
tryGetCSharpDevKitExtensionExports(csharpLogObserver);
319324

0 commit comments

Comments
 (0)