此方法不可用。
第一步:取消自動保存功能
File > Settings > Appearance & Behavior > System Settings > Synchronization > then uncheck both Save files on frame deactivation and Save files automatically if application is idle > OK
第二步:設置修改過但未保存的文件有※顯示,以式區別。
File
> Settings
> Editor
> General
> Editor Tabs
> then check Mark modified tabs with
asterisk
> OK
第三步:設置保存快捷鍵為Ctrl+S
File
> Settings
> Keymap
> search with save document > right click Save Document
> Add
Keyboard Shortcut
> press Ctrl+S > OK
> Remove
> OK
最后一步可按自己的喜好設置按鍵,也可不操作。