通過編輯自定義 VM 選項來調整 PhpStorm 效能

可以更改*.vmoptionsidea.properties 檔案,而無需在 PhpStorm 安裝資料夾中對其進行編輯。

請按照以下步驟操作:

步驟 1:

執行 Help - Edit Custom VM Options...

StackOverflow 文件

第 2 步:

如果出現提示,請確認配置檔案的建立

StackOverflow 文件

第 3 步:

如果要使用 OpenGL,請新增以下行

# This line could already be there depending on your PHPStorm version
-Dawt.useSystemAAFontSettings=lcd 

-Dawt.java2d.opengl=true

如果要增加分配給 PhpStorm 的記憶體,請新增以下行(提高大型專案的效能)

# This line could already be there depending on your PHPStorm version
-Xmx750m

StackOverflow 文件

儲存檔案並重新啟動程式。