启事国产 巨乳 我责任每天皆需要和IDE 打交说念,我用的是PyCharm,因为其便利性,让我如获至宝,然而其缓存一直在C 盘耐久不断,加上最近用上了WSL2,大缓存的问题日益严峻,直到C 盘照旧快崩了,上图:图片国产 巨乳国产 巨乳 我去查了一下PyCharm 缓存文献,不查不知说念,一查吓一跳,真的有足足 26 个G!图片 处理要领我查阅了网上许多的贵府,处理要领皆停留在几年前的了,直观让我知说念,曩昔的要领不是很靠谱,然而我知说念了一个抨击的信息:需要修改idea.properties 文献。 罢黜有疑问就去官网查文档的民俗,我去到官网输入要害词 idea.properties进行搜索 ,找到了我需要的谜底(附上官网贯穿:Platform properties):From the main menu, select Help | Edit Custom Properties.如图: 图片 点击之后,会弹出这个剪辑窗口,若是以前没修悔改,弹出来是空缺的:图片 那怎么修改呢?咱们连接看文档,文档列举了4个文献夹,分歧是Configuration directorySystem directoryPlugins directoryLogs directory文档内部不错看到每个文献的默许旅途,其中 JonhS是用户名,替换你我方的用户名就不错了。 图片 图片 91porn邀请码提神不雅察不错发现,文献夹分为两类,一类是存放在Local 文献夹中,另外一类是存放在 Roaming 中,我看了下Roaming 文献夹中的文献,只好100M 足下,我主要的缓存皆在 Local中,闾阎只需要搬动Local\JetBrains\PyCharm2021.3文献夹就行了,然后竖立存放在Local中的文献旅途,即idea.system.path和idea.log.path。保障起见,我将存放在Roaming 文献夹中的文献(idea.config.pat 和idea.plugins.path)也竖立了底本的统统旅途。总而言之,我的竖立如下 (留心:Windows 系统旅途要使用/ !!!):#----------------------------------------------------------# Uncomment this option if you want to customize a path to the settings directory.#----------------------------------------------idea.config.path=C:/Users/HinGwenWoong/AppData/Roaming/JetBrains/PyCharm2021.3#-----------------------# Uncomment this option if you want to customize a path to the caches directory.#---------------------------------------------------idea.system.path=G:/Software_caches/JetBrains/PyCharm2021.3#------------------------------------------------------# Uncomment this option if you want to customize a path to the user-installed plugins directory.#--------------------idea.plugins.path=C:/Users/HinGwenWoong/AppData/Roaming/JetBrains/PyCharm2021.3/plugins#---------------------------------# Uncomment this option if you want to customize a path to the logs directory.#--------------------------------idea.log.path=G:/Software_caches/JetBrains/PyCharm2021.3/log 保存之后,退出 PyCharm,然后将Local\JetBrains\PyCharm2021.3 搬动到{idea.system.path} ,驱动PyCharm 望望是否有问题(若是有问题一般会弹出指示)。若是没问题等于平常洞开,不需要遴荐什么竖立,就像以前那样丝滑等于证明没问题。 图片 阐发没问题的话,临了一步等于 释!放!空!间! 图片 顿时领路!奏效!图片 转头以上等于从压根上处理PyCharm缓存将C盘挤爆的问题,但愿列位的磁盘始终不会被挤爆。感谢! 本站仅提供存储管事,所有施行均由用户发布,如发现存害或侵权施行,请点击举报。 |