From 9fa2f51ccbc6ae76c31385731caf37e412234ad0 Mon Sep 17 00:00:00 2001 From: Dmitry Pogrebnoy Date: Wed, 12 Feb 2025 10:44:03 +0100 Subject: [PATCH] IJPL-175691 Add doc to zed editor collector GitOrigin-RevId: ba9b78e7e2725981036330626f87603ef9e8515c --- .../fus/environment/ZedCollectionDataProvider.kt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/platform/platform-impl/internal/src/com/intellij/internal/statistic/collectors/fus/environment/ZedCollectionDataProvider.kt b/platform/platform-impl/internal/src/com/intellij/internal/statistic/collectors/fus/environment/ZedCollectionDataProvider.kt index 7c1578a07098..81d5288e8ac2 100644 --- a/platform/platform-impl/internal/src/com/intellij/internal/statistic/collectors/fus/environment/ZedCollectionDataProvider.kt +++ b/platform/platform-impl/internal/src/com/intellij/internal/statistic/collectors/fus/environment/ZedCollectionDataProvider.kt @@ -11,6 +11,15 @@ import kotlin.io.path.exists private val logger = logger() +/** + * Collects anonymous data about the presense of Zed editor to improve the "Import settings from external editor" feature + * and prioritize support for popular editors. + * + * This includes: + * - Detecting if Zed editor is installed across platforms (Windows, macOS, Linux). + * + * The data is completely anonymized and no personally identifiable information is captured. + */ internal class ZedCollectionDataProvider : ExternalEditorCollectionDataProvider() { private val zedHomePath: Path? = getZedHomePath()