在CentOS上设置PhpStorm自动保存,可按以下步骤操作:
- 打开PhpStorm。
- 选择“File”(文件)>“Settings”(设置),macOS系统选择“PhpStorm”>“Preferences”。
- 在设置对话框左侧导航栏,展开“Appearance & Behavior”(外观和行为),点击“System Settings”(系统设置)。
- 在右侧“Synchronization”(同步)部分,勾选“Save files automatically if application is idle for ___ sec”(应用程序空闲___秒后自动保存文件),并设置时间间隔。
- (可选)勾选“Use ‘safe write’ (save changes to a temporary file first)”(使用“安全写入”,先将更改保存到临时文件),避免数据丢失。
- 点击“OK”保存设置。