zoukankan      html  css  js  c++  java
  • PyCharm 占用过大 C 盘空间,system 配置文件迁移

    随着 PyCharm 的持续使用,对应 C:Users<username>.PyCharm<2018.3> 下的文件大小会持续增大,且通常为 system 文件夹下的内容。此时可以通过软件配置将该文件搬迁到其他磁盘中(e.g. D:/.PyCharm2018.3)。

    对应的配置文件有两个生成方法:

    1、在 C:Users<username>.PyCharm<2018.3>config 下手动创建 idea.properties 文件

    2、利用PyCharm 里的 Help/Edit Custom Properties 的选项新建

    之后在创建的文件夹下进行如下修改,当然除了 system 之外,还可以配置其他路径将其他内容也进行迁移。

    # custom PyCharm properties
    
    idea.config.path=${user.home}/.PyCharm2018.3/config
    idea.system.path=${user.home}/.PyCharm2018.3/system
    # idea.plugins.path=${idea.config.path}/plugins
    # idea.log.path=${idea.system.path}/log

    最后将原文件夹下的 C:Users<username>.PyCharm<2018.3>system 复制到目标迁移文件夹下,并关闭 PyCharm 之后删除 system 文件夹并重启 PyCharm 就完成了配置的迁移。

     更新:经验证,必须修改PyCharm安装目录下的bin目录里面的 idea.properties 文件,重启软件才能生效,否则会提示导入配置文件,然而选择原来的文件夹会提示无效。

  • 相关阅读:
    Luogu P1396 营救
    Luogu P1339 热浪Heat Wave
    哈夫曼树学习笔记
    题解 CF1372C
    题解 CF 1372 B
    题解 CF 1372A
    题解 UVA1193 Radar Installation
    题解 洛谷 P2287 [USACO07NOV]Sunscreen G
    洛谷 P1080 国王游戏 题解
    牛客练习赛 66C公因子 题解
  • 原文地址:https://www.cnblogs.com/jingsupo/p/11616205.html
Copyright © 2011-2022 走看看