Transfer Pycharm cache files in C drive

Today's analysis of the C drive space found that the Pycharm cache file occupies about 1G space, so move it to the D drive Pycharm installation directory to free up C drive space, the process is recorded as follows:

0. Close the running Pycharm program;

1. Move  C: \ Users \% USER_NAME% \. PyCharmCE2019. 3  to the Pycharm installation directory of the D drive . Some files may be unable to be copied because the path length is too long, generally temporary files, skip can;

2. Configure   the idea.properties  configuration file in the  % PYCHARM_INSTALL_PATH% \ bin directory, and  modify idea.config.path, idea.system.path, idea.plugins.path, idea.log.path  to the following settings:

idea.config.path =% cache folder after moving% / config 
idea.system.path =% cache folder after moving% / system 
idea.plugins.path = $ {idea.config.path} / plugins 
idea. log.path = $ {idea.system.path} / log

Examples are as follows:

3. Finally, restart Pycharm (some interface elements load slowly in the first restart, and the second restart will return to normal)

 

Guess you like

Origin www.cnblogs.com/estivalinp/p/12724526.html