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 文件,重启软件才能生效,否则会提示导入配置文件,然而选择原来的文件夹会提示无效。

  • 相关阅读:
    随笔
    std::condition_variable(复习)
    随笔
    std::vector<std::vector<> >
    staitc_cast,const_cast....
    复制构造函数
    c++ 临时对象
    复制初始化和直接初始化
    随笔
    Fedora 安装oracle11g 之最简洁方式
  • 原文地址:https://www.cnblogs.com/jingsupo/p/11616205.html
Copyright © 2011-2022 走看看