Run multiple instances of WebStorm
I am using IntelliJ with multiple profiles on my Mac.
I achieved this by creating two directories that include idea.properties file:
/username/default-profile
/username/other-profile
Then in each idea.properties I have a custom paths(i.e. for default profile)idea.config.path=/username/default-profile
idea.system.path=~/Library/Caches/JetBrains/default-profile
idea.plugins.path=${idea.config.path}/plugins
idea.log.path=~/Library/Logs/JetBrains/default-profile
and to start with that properties I use such commands
export IDEA_PROPERTIES=/username/default-profile /idea.properties && \
open -na /Applications/IntelliJ\ IDEA.app
I tried to do the same for WebStorm by setting export WEBSTORM_PROPERTIES but it creates new directory and doesn't take the given property into considerration.
I did some research to set them using WEBSTORM_VM_OPTIONS but same result. give env variable is ignored.
any hint what I am doing wrong?
Please sign in to leave a comment.
The right variable name is
WEBIDE_PROPERTIES
, please see https://www.jetbrains.com/help/webstorm/tuning-the-ide.html#procedure-platform-properties.Oh, at last. It worked. Thanks a lot.