Android Studio:
shell
~/.config/Google/AndroidStudioPreview2022.3/studio64.vmoptions
其他IDE:
shell
~/.config/JetBrains/RustRover2023.3/rustrover64.vmoptions
~/.config/JetBrains/PyCharm2023.3/pycharm64.vmoptions
~/.config/JetBrains/GoLand2023.1/goland64.vmoptions
以上是安装包默认的配置文件位置,如果设置以下环境变量,则会优先使用环境变量中指定的配置文件:
shell
JETBRAINSCLIENT_VM_OPTIONS=/home/jetbra/vmoptions/jetbrainsclient.vmoptions
GOLAND_VM_OPTIONS=/home/jetbra/vmoptions/goland.vmoptions
WEBSTORM_VM_OPTIONS=/home/jetbra/vmoptions/webstorm.vmoptions
PHPSTORM_VM_OPTIONS=/home/jetbra/vmoptions/phpstorm.vmoptions
WEBIDE_VM_OPTIONS=/home/jetbra/vmoptions/webide.vmoptions
GATEWAY_VM_OPTIONS=/home/jetbra/vmoptions/gateway.vmoptions
DATASPELL_VM_OPTIONS=/home/jetbra/vmoptions/dataspell.vmoptions
APPCODE_VM_OPTIONS=/home/jetbra/vmoptions/appcode.vmoptions
IDEA_VM_OPTIONS=/home/jetbra/vmoptions/idea.vmoptions
STUDIO_VM_OPTIONS=/home/jetbra/vmoptions/studio.vmoptions
CLION_VM_OPTIONS=/home/jetbra/vmoptions/clion.vmoptions
DATAGRIP_VM_OPTIONS=/home/jetbra/vmoptions/datagrip.vmoptions
RIDER_VM_OPTIONS=/home/jetbra/vmoptions/rider.vmoptions
JETBRAINS_CLIENT_VM_OPTIONS=/home/jetbra/vmoptions/jetbrains_client.vmoptions
PYCHARM_VM_OPTIONS=/home/jetbra/vmoptions/pycharm.vmoptions
RUBYMINE_VM_OPTIONS=/home/jetbra/vmoptions/rubymine.vmoptions
DEVECOSTUDIO_VM_OPTIONS=/home/jetbra/vmoptions/devecostudio.vmoptions