Skip to content

Commit 52222b5

Browse files
committed
Report how the extension was activated
1 parent fccdca6 commit 52222b5

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)