From 21d773b0d9782c0dce47686ddcc8f4d356e2963c Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Wed, 25 Feb 2015 17:35:18 +0100 Subject: [PATCH] IDEA-136810 ($HOME/idea.properties lookup returned) --- .../util/src/com/intellij/openapi/application/PathManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/util/src/com/intellij/openapi/application/PathManager.java b/platform/util/src/com/intellij/openapi/application/PathManager.java index bc963277682a..f5fb7268c9a0 100644 --- a/platform/util/src/com/intellij/openapi/application/PathManager.java +++ b/platform/util/src/com/intellij/openapi/application/PathManager.java @@ -315,6 +315,7 @@ public class PathManager { String[] propFiles = { System.getProperty(PROPERTIES_FILE), getUserPropertiesPath(), + getUserHome() + "/idea.properties", getHomePath() + "/bin/idea.properties", getHomePath() + "/community/bin/idea.properties"}; @@ -359,7 +360,7 @@ public class PathManager { return platformPath(PATHS_SELECTOR, "Library/Preferences", /*"APPDATA", "XDG_CONFIG_HOME", ".config",*/ "") + "/idea.properties"; } else { - return getUserHome() + "/idea.properties"; + return null; } }