注:此方法适用于JetBrains的系列产品,包括IntelliJ IDEA,WebStrom,PyCharm等。

(1)打开安装路径下的属性文件

  D:\Developtool\IntelliJ_IDEA_2016\bin\idea.properties

(2)修改属性配置

  用notepad++等文本编辑器修改idea.properties文件,找到配置信息中有${user.home}的字段,如idea.config.path,idea.system.path:

  1 # Use ${idea.home.path} macro to specify location relative to IDE installation home.
  2 # Use ${xxx} where xxx is any Java property (including defined in previous lines of this file) to refer to its value.
  3 # Note for Windows users: please make sure you're using forward slashes (e.g. c:/idea/system).
  4
  5 #---------------------------------------------------------------------
  6 # Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes.
  7 #---------------------------------------------------------------------
  8 # idea.config.path=${user.home}/.IntelliJIdea/config
  9 idea.config.path=E:/Personal/.IntelliJIdea/config
 10
 11 #---------------------------------------------------------------------
 12 # Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes.
 13 #---------------------------------------------------------------------
 14 # idea.system.path=${user.home}/.IntelliJIdea/system
 15 idea.system.path=E:/Personal/.IntelliJIdea/system
 16
 17 #---------------------------------------------------------------------
 18 # Uncomment this option if you want to customize path to user installed plugins folder. Make sure you're using forward slashes.
 19 #---------------------------------------------------------------------
 20 # idea.plugins.path=${idea.config.path}/plugins
 21 idea.plugins.path=${idea.config.path}/plugins
 22
 23 #---------------------------------------------------------------------
 24 # Uncomment this option if you want to customize path to IDE logs folder. Make sure you're using forward slashes.
 25 #---------------------------------------------------------------------
 26 # idea.log.path=${idea.system.path}/log
 27 idea.log.path=${idea.system.path}/log
 28
 29 #---------------------------------------------------------------------
 30 # Maximum file size (kilobytes) IDE should provide code assistance for.
 31 # The larger file is the slower its editor works and higher overall system memory requirements are
 32 # if code assistance is enabled. Remove this property or set to very large number if you need
 33 # code assistance for any files available regardless their size.
 34 #---------------------------------------------------------------------
 35 idea.max.intellisense.filesize=2500
 36
 37 #---------------------------------------------------------------------
 38 # This option controls console cyclic buffer: keeps the console output size not higher than the specified buffer size (Kb).
 39 # Older lines are deleted. In order to disable cycle buffer use idea.cycle.buffer.size=disabled
 40 #---------------------------------------------------------------------
 41 idea.cycle.buffer.size=1024
 42
 43 #---------------------------------------------------------------------
 44 # Configure if a special launcher should be used when running processes from within IDE.
 45 # Using Launcher enables "soft exit" and "thread dump" features
 46 #---------------------------------------------------------------------
 47 idea.no.launcher=false
 48
 49 #---------------------------------------------------------------------
 50 # To avoid too long classpath
 51 #---------------------------------------------------------------------
 52 idea.dynamic.classpath=false
 53
 54 #---------------------------------------------------------------------
 55 # Uncomment this property to prevent IDE from throwing ProcessCanceledException when user activity
 56 # detected. This option is only useful for plugin developers, while debugging PSI related activities
 57 # performed in background error analysis thread.
 58 # DO NOT UNCOMMENT THIS UNLESS YOU'RE DEBUGGING IDE ITSELF. Significant slowdowns and lockups will happen otherwise.
 59 #---------------------------------------------------------------------
 60 #idea.ProcessCanceledException=disabled
 61
 62 #---------------------------------------------------------------------
 63 # There are two possible values of idea.popup.weight property: "heavy" and "medium".
 64 # If you have WM configured as "Focus follows mouse with Auto Raise" then you have to
 65 # set this property to "medium". It prevents problems with popup menus on some
 66 # configurations.
 67 #---------------------------------------------------------------------
 68 idea.popup.weight=heavy
 69
 70 #---------------------------------------------------------------------
 71 # Use default anti-aliasing in system, i.e. override value of "Settings|Editor|Appearance|Use anti-aliased font"
 72 # option. May be useful when using Windows Remote Desktop Connection for instance.
 73 #---------------------------------------------------------------------
 74 idea.use.default.antialiasing.in.editor=false
 75
 76 #---------------------------------------------------------------------
 77 # Disabling this property may lead to visual glitches like blinking and fail to repaint
 78 # on certain display adapter cards.
 79 #---------------------------------------------------------------------
 80 sun.java2d.noddraw=true
 81
 82 #---------------------------------------------------------------------
 83 # Removing this property may lead to editor performance degradation under Windows.
 84 #---------------------------------------------------------------------
 85 sun.java2d.d3d=false
 86
 87 #---------------------------------------------------------------------
 88 # Workaround for slow scrolling in JDK6
 89 #---------------------------------------------------------------------
 90 swing.bufferPerWindow=false
 91
 92 #---------------------------------------------------------------------
 93 # Removing this property may lead to editor performance degradation under X Window.
 94 #---------------------------------------------------------------------
 95 sun.java2d.pmoffscreen=false
 96
 97 #---------------------------------------------------------------------
 98 # Workaround to avoid long hangs while accessing clipboard under Mac OS X.
 99 #---------------------------------------------------------------------
100 #ide.mac.useNativeClipboard=True
101
102 #---------------------------------------------------------------------
103 # Maximum size (kilobytes) IDEA will load for showing past file contents -
104 # in Show Diff or when calculating Digest Diff
105 #---------------------------------------------------------------------
106 #idea.max.vcs.loaded.size.kb=20480
107
108 #---------------------------------------------------------------------
109 # IDEA file chooser peeks inside directories to detect whether they contain a valid project
110 # (to mark such directories with a corresponding icon).
111 # Uncommenting the option prevents this behavior outside of user home directory.
112 #---------------------------------------------------------------------
113 #idea.chooser.lookup.for.project.dirs=false
114
115 #---------------------------------------------------------------------
116 # IDEA can copy library .jar files to prevent their locking.
117 # By default this behavior is enabled on Windows and disabled on other platforms.
118 # Uncomment this property to override.
119 #---------------------------------------------------------------------
120 # idea.jars.nocopy=false
121
122 #---------------------------------------------------------------------
123 # The VM option value to be used to start a JVM in debug mode.
124 # Some JREs define it in a different way (-XXdebug in Oracle VM)
125 #---------------------------------------------------------------------
126 idea.xdebug.key=-Xdebug
127
128 #---------------------------------------------------------------------
129 # Switch into JMX 1.0 compatibility mode.
130 # Uncomment this option to be able to run IDEA using J2SDK 1.5+ while working
131 # with application servers (like WebLogic) running 1.4.
132 #---------------------------------------------------------------------
133 #jmx.serial.form=1.0
134
135 #-----------------------------------------------------------------------
136 # Change to 'enabled' if you want to receive instant visual notifications
137 # about fatal errors that happen to an IDE or plugins installed.
138 #-----------------------------------------------------------------------
139 idea.fatal.error.notification=disabled

View Code

(3)重启IDE,如果指定目录下生成.IntelliJIdea文件夹,则说明修改成功。

转载于:https://www.cnblogs.com/yuzd/p/8975830.html

IntelliJ IDEA,WebStorm,PyCharm 2017+缓存位置修改相关推荐

  1. Intellij或者pycharm的缓存目录很大,如何从C盘移动出去?

    本文转载自: Intellij或者pycharm的缓存目录好大哦,怎么从C盘移动出去 Intellij.pycharm或者phpstorm等jetbrains系列的软件,会有一个缓存目录,默认放在C盘 ...

  2. 修改yarn的默认安装和缓存位置

    # Yarn安装包位置 C:\Users\xxx\AppData\Local\Yarn\global\node_modules\.bin # 缓存位置 C:\Users\xxx\AppData\Loc ...

  3. 修改NuGet包缓存位置

    NuGet包太大了,占用了大量的C盘空间.将他们迁移到D盘去才好呀. NuGet包默认缓存位置:C:\Users\{username}\.nuget\packages 本地包的默认位置:C:\Prog ...

  4. 修改Unity的Cache缓存位置

    1.修改Unity GICache 打开Unity的编辑器,找到Editor/Preferences/GICache,修改缓存位置,如下所示: 在把C盘的C:\Users\GA\AppData\Loc ...

  5. 计算机缓存怎样更改,UC浏览器电脑版怎么修改缓存位置

    UC浏览器电脑版默认情况下是无法进行修改缓存位置,可是缓存目录在系统盘的话会占用很多空间,下面小编就为您带来UC浏览器电脑版修改缓存目录教程. 关于缓存: 启动UC浏览器电脑版,点击浏览器左上角的头像 ...

  6. 修改chrome或edge缓存位置

    如何修改edge.chrome缓存位置 2021-12-01更新:经过测试目前最新版Edge提供2种方法(谷歌Chrome同理) 方法一(一劳永逸): ①创建新的缓存文件夹,以E:\Cache\Edg ...

  7. 修改conda缓存路径:详解如何将Anaconda缓存位置更改

    修改conda缓存路径:详解如何将Anaconda缓存位置更改 在使用Anaconda进行Python开发时,我们经常需要使用conda来管理第三方库和环境.但是,使用默认缓存路径时,conda会将下 ...

  8. 修改Yarn的全局安装和缓存位置

    在CMD命令行中执行 #1.改变 yarn 全局安装位置 yarn config set global-folder "你的磁盘路径" #2.然后你会在你的用户目录找到 `.yar ...

  9. 将win7 firefox WebStorm PyCharm等JetBrains系列开发软件设置为豆沙绿护眼背景

    一. 安装win7 豆沙绿主题 玩主题已经有10来年了,从XP一直到vista,其中的乐趣乐在其中,这个主题是为了纪念这么多年来一直diy主题的自己,修改了无数个细节,采用的护眼绿豆沙最终作为最后的题 ...

  10. maven,gradle本地缓存位置

    gradle: 配置系统环境变量GRADLE_USER_HOME即可,值为缓存位置. maven: 修改settings文件:maven的home路径下的conf文件夹下的settings.xml 对 ...

最新文章

  1. 旋转质量轮实验对象上的传感器
  2. jetty启动源码分析
  3. 【转】 Pro Android学习笔记(二九):用户界面和控制(17):include和merge
  4. svn客户端 java_svn纯java客户端SVNKit学习整理(转)
  5. 循环小数是分数集合吗_人教版小学数学三年级上册 分数的简单计算 教案、课件,公开课视频...
  6. Mybatis自学日志02
  7. 使用迁移学习后使用微调再次提高模型训练的准确率
  8. PHP图像处理:3D图纸、缩放、回转、剪下、水印(三)
  9. 高手云集 WCTF世界黑客大师赛今日开战
  10. Vue- Markdown 使用大全
  11. JS设置Cookie过期时间
  12. WINCE下ActiveSync连接故障修复办法
  13. 【组合数学】错排问题 ( 递推公式 | 通项公式 | 推导过程 ) ★
  14. 芳菲也迷人,玩转北京大周边
  15. CSS学习之圆、半圆、四分之一圆以及三角形的创建
  16. python爬虫检测ip是否有效
  17. otf和ctf的意义_北京邮电大学出版社
  18. Python全栈之路---day01(背景、语法初识)
  19. 【小算法】图的遍历之深度优先(DFS)
  20. ACL / RBAC/ABAC

热门文章

  1. 计算机应用基础课程基本要求,《计算机应用基础》课程建设规范
  2. Linux中的Tomcat500异常,Linux处理Tomcat异常的方法
  3. python wraps模块_python functools.wraps装饰器模块
  4. es 创建索引 指定id_ES的基本用法
  5. 【算法笔记】初识离散化
  6. cocos2d 屏幕適配_cocos2dx 3.2 屏幕适配的理解
  7. Swift 5 UIStackView中添加自动换行的Label
  8. mysql 超时异常捕获_Mysql的链接超时异常CommunicationsException
  9. CTR介绍,数据集往往为表格形式,训练集使用历史的日志数据,然后进行特征归一化、离散化和特征哈希等操作,最终一条训练集为一行多列的二分类任务。
  10. redis linux 安装启动,Redis安装启动(linux系统)