IDEA-136810 ($HOME/idea.properties lookup returned)
authorRoman Shevchenko <roman.shevchenko@jetbrains.com>
Wed, 25 Feb 2015 16:35:18 +0000 (17:35 +0100)
committerRoman Shevchenko <roman.shevchenko@jetbrains.com>
Wed, 25 Feb 2015 16:35:49 +0000 (17:35 +0100)
platform/util/src/com/intellij/openapi/application/PathManager.java

index bc963277682a38acf351ee4f9a637109bfc5b276..f5fb7268c9a03ebaeb2607c31d331004c6a04102 100644 (file)
@@ -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;
     }
   }