2016-03-15 83 views
1

WebStorm(我假设为IntelliJ)将大量信息缓存在Windows中用户目录下名为.WebstormXX的目录中。更改缓存目录WebStorm

文档状态数据被保存在此处:

<SYSTEM DRIVE>\Users\<USER ACCOUNT NAME>\.<PRODUCT><VERSION> 

我想这里存储这些数据,因为相比有什么需要缓存我的网络用户空间微乎其微目录。

我可以将我的.WebstormXX定义为例如直接在我的C驱动器上吗?

回答

3

<WebstormLocation>/bin/idea.properties你可以找到的属性:

idea.config.path=${user.home}/.WebStorm/config 
idea.system.path=${user.home}/.WebStorm/system 

这些被注释掉了,并在idea.properties顶部被发现;取消注释和重新定义它们是你需要做的。

确保在定义新目录时使用正斜杠。

+0

https://intellij-support.jetbrains.com/hc/en-us/articles/207240985-Changing-IDE-default-directories-used-for-config-plugins-and-caches-storage – LazyOne

+1

应该是< WebstormLocation> /bin/idea.properties –