Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public sealed class StartupTelemetryEventBuilder
public StartupTelemetryEventBuilder(Func<string, string> hash)
{
_hash = hash ?? throw new ArgumentNullException(nameof(hash));

}

public IEnumerable<TelemetryEvent> GetTelemetryEventsFrom(ParseResult parseResult)
Expand Down Expand Up @@ -276,6 +276,12 @@ private static string GetFrontendName(
case "vscode":
return directive.Key;
}

if (directive.Key.StartsWith("vs") &&
int.TryParse(directive.Key.Substring(2), out _)) // VS appends the process id after the "vs" prefix.
{
return "vs";
Comment thread
shyamnamboodiripad marked this conversation as resolved.
}
}

switch (commandResult.Command.Name)
Expand Down