Add is_via_ssh field to editor events (#18837)

Release Notes:

- N/A
This commit is contained in:
Joseph T. Lyons 2024-10-08 10:30:04 -04:00 committed by GitHub
parent dd44168cad
commit 4c7a6f5e7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 1 deletions

View file

@ -12481,13 +12481,15 @@ impl Editor {
.settings_at(0, cx)
.show_inline_completions;
let telemetry = project.read(cx).client().telemetry().clone();
let project = project.read(cx);
let telemetry = project.client().telemetry().clone();
telemetry.report_editor_event(
file_extension,
vim_mode,
operation,
copilot_enabled,
copilot_enabled_for_language,
project.is_via_ssh(),
)
}