在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”保存设置。