zoukankan      html  css  js  c++  java
  • 安装IntelliJ IDEA默认C盘文件过大怎么办

    方法如下:

    找到安装路径下有个属性文件,我的是在 D:Program FilesJetBrainsIntelliJ IDEA 2017.3.2in 进入bin目录后找到属性文件:idea.properties 用记事本或者Editplus 将其打开,找到如下代码段:

    [html] 
     
    1. # path to IDEA config folder. Make sure you're using forward slashes  
    2. idea.config.path=${user.home}/.IntelliJIdea/config  
    3.   
    4. # path to IDEA system folder. Make sure you're using forward slashes  
    5. idea.system.path=${user.home}/.IntelliJIdea/system  
    6.   
    7. # path to user installed plugins folder. Make sure you're using forward slashes  
    8. idea.plugins.path=${user.home}/.IntelliJIdea/config/plugins  

    发现其中包含3个路径 idea.config.path和idea.system.path和idea.plugins.path   这个就是设置了文件的存放路径,那么我们将 ${user.home} 替换为我们自定义的路径就好了,替换 如:D:Program FilesJetBrainsIntelliJ IDEA 2017.3.2 ,注意“/”的方向。修改后的如下:

    [html] 
     
    1. # path to IDEA config folder. Make sure you're using forward slashes  
    2. idea.config.path=D:/Program Files/JetBrains/IntelliJ IDEA 2017.3.2/.IntelliJIdea/config  
    3.   
    4. # path to IDEA system folder. Make sure you're using forward slashes  
    5. idea.system.path=D:/Program Files/JetBrains/IntelliJ IDEA 2017.3.2/.IntelliJIdea/system  
    6.   
    7. # path to user installed plugins folder. Make sure you're using forward slashes  
    8. idea.plugins.path=D:/Program Files/JetBrains/IntelliJ IDEA 2017.3.2/.IntelliJIdea/config/plugins  


     

    然后发现D:/Program Files/JetBrains/IntelliJ IDEA 2017.3.2 路径下出现了 .IntelliJIdea的文件夹,修改成功!以后在使用时就不会占用C盘啦,C盘C:UsersAdministrator.IntelliJIdea90 的文件夹就可以删除了。快去试试吧!

  • 相关阅读:
    gdb高级技巧
    Fira Code字体安装与配置
    回归
    【Luogu】P2292 [HNOI2004]L语言 题解
    浅谈Linux桌面(发行版及桌面环境)
    剑指offer-和为S的连续正数序列-知识迁移能力-python
    剑指offer-数组中只出现一次的数字-数组-python
    剑指offer-数字在排序数组中出现的次数-数组-python
    剑指offer-数组中的逆序对-数组-python
    剑指offer-丑数-穷举-python
  • 原文地址:https://www.cnblogs.com/yulia/p/8862377.html
Copyright © 2011-2022 走看看