From 55c88459cbff21c1204fe6ef8ad07324e330327e Mon Sep 17 00:00:00 2001 From: Maxim Kartashev Date: Thu, 30 Jan 2025 15:04:53 +0400 Subject: [PATCH] IJPL-171213 Add toolkit information to the troubleshooting.txt GitOrigin-RevId: 3e435e128554142a0623a09f7598dc7fa41ad4df --- .../ide/troubleshooting/AboutTroubleInfoCollector.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/platform/platform-impl/src/com/intellij/ide/troubleshooting/AboutTroubleInfoCollector.java b/platform/platform-impl/src/com/intellij/ide/troubleshooting/AboutTroubleInfoCollector.java index 68b477a55387..7164e2be22d5 100644 --- a/platform/platform-impl/src/com/intellij/ide/troubleshooting/AboutTroubleInfoCollector.java +++ b/platform/platform-impl/src/com/intellij/ide/troubleshooting/AboutTroubleInfoCollector.java @@ -10,6 +10,7 @@ import com.intellij.troubleshooting.GeneralTroubleInfoCollector; import com.intellij.util.system.CpuArch; import org.jetbrains.annotations.NotNull; +import java.awt.*; import java.io.IOException; import java.nio.file.InvalidPathException; import java.nio.file.Path; @@ -64,6 +65,10 @@ final class AboutTroubleInfoCollector implements GeneralTroubleInfoCollector { output += " (" + SystemInfo.OS_ARCH + (CpuArch.isEmulated() ? ", emulated" : "") + ')'; output += '\n'; + output += "Toolkit: "; + output += Toolkit.getDefaultToolkit().getClass().getName(); + output += '\n'; + output += PathManager.PROPERTY_CONFIG_PATH + "=" + logPath(PathManager.getConfigPath()) + '\n'; output += PathManager.PROPERTY_SYSTEM_PATH + "=" + logPath(PathManager.getSystemPath()) + '\n'; output += PathManager.PROPERTY_PLUGINS_PATH + "=" + logPath(PathManager.getPluginsPath()) + '\n';