设置快捷键: Ctrl+Alt+S位置: Settings --> Editor --> Code Style --> Scala --> Type Annotations
Ctrl+Alt+S
Settings --> Editor --> Code Style --> Scala --> Type Annotations
效果: