VS Code
Set Plugin Storage Location
Add the --extensions-dir
parameter in the shortcut to specify the plugin storage location
bash
D:\App\VSCode\Code.exe --extensions-dir "D:\App\VSCode\extensions"
Common Plugins
IntelliJ IDEA
Configure Other File Storage Locations in Configuration Files
This configuration file is applicable to the IntelliJ IDEA series of IDEs, such as WebStorm, PyCharm, etc.
idea.properties
#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the settings directory.
#---------------------------------------------------------------------
# idea.config.path=${user.home}/.IntelliJIdea/config
idea.config.path=D:/App/Jetbrains/IDEA/cache/config
#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the caches directory.
#---------------------------------------------------------------------
# idea.system.path=${user.home}/.IntelliJIdea/system
idea.system.path=D:/App/Jetbrains/IDEA/cache/system
#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the user-installed plugins directory.
#---------------------------------------------------------------------
# idea.plugins.path=${idea.config.path}/plugins
idea.plugins.path=D:/App/Jetbrains/IDEA/cache/plugins
#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the logs directory.
#---------------------------------------------------------------------
# idea.log.path=${idea.system.path}/log
idea.log.path=D:/App/Jetbrains/IDEA/cache/log