{"id":246,"date":"2017-04-20T21:57:56","date_gmt":"2017-04-20T13:57:56","guid":{"rendered":"http:\/\/dingqs.imwork.net\/?p=246"},"modified":"2017-04-20T21:57:56","modified_gmt":"2017-04-20T13:57:56","slug":"changing-ide-default-directories-used-for-config-plugins-and-caches-storage","status":"publish","type":"post","link":"https:\/\/www.dd-home.top\/?p=246","title":{"rendered":"Changing IDE default directories used for config, plugins, and caches storage"},"content":{"rendered":"<p><!--more--><\/p>\n<div>Locations can be changed by editing the following file:<\/div>\n<pre class=\"prettyprint prettyprinted\"><span class=\"pln\">IDE_HOMEb<\/span><span class=\"kwd\">in<\/span><span class=\"pln\">idea<\/span><span class=\"pun\">.<\/span><span class=\"pln\">properties<\/span><\/pre>\n<div>It&#8217;s not recommended to edit this file directly if you want to avoid conflicts during the patch updates in the future. Instead, make a copy of idea.properties outside of IDE_HOME directory and specify OS environment variable <strong>IDEA_PROPERTIES<\/strong> pointing to the new location:<\/div>\n<div>\n<pre class=\"prettyprint prettyprinted\"><span class=\"pln\">IDEA_PROPERTIES<\/span><span class=\"pun\">=<\/span><span class=\"pln\">C<\/span><span class=\"pun\">:<\/span><span class=\"pln\">UsersUSERidea<\/span><span class=\"pun\">.<\/span><span class=\"pln\">properties<\/span><\/pre>\n<p>Follow the comments in <strong>idea.properties<\/strong> file to change the defaults, make sure to un-comment the lines defining these properties:<\/div>\n<div>\n<ul>\n<li>idea.config.path<\/li>\n<li>idea.system.path<\/li>\n<li>idea.plugins.path<\/li>\n<li>idea.log.path<\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-246","post","type-post","status-publish","format-standard","hentry","category-6"],"_links":{"self":[{"href":"https:\/\/www.dd-home.top\/index.php?rest_route=\/wp\/v2\/posts\/246","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dd-home.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dd-home.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dd-home.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dd-home.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=246"}],"version-history":[{"count":0,"href":"https:\/\/www.dd-home.top\/index.php?rest_route=\/wp\/v2\/posts\/246\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dd-home.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dd-home.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dd-home.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}