在CentOS上配置PhpStorm自動保存,可按以下步驟操作:
- 打開PhpStorm,選擇“File”>“Settings”(或用快捷鍵Ctrl+Alt+S)。
- 在設置對話框左側導航欄中,展開“Appearance & Behavior”,點擊“System Settings”。
- 在右側“System Settings”面板中,找到“Synchronization”部分。
- 勾選“Save files automatically if application is idle for ___ sec”,并在輸入框中設置空閑時間間隔(如30秒)。
- (可選)勾選“Use ‘safe write’ (save changes to a temporary file first)”避免數據丟失。
- 點擊“OK”保存設置。