在编辑器中按 &shortcut:ShowIntentionActions; 以修复高亮显示的错误或警告,或是改进或优化代码结构。对于某些意图操作,可以按 &shortcut:QuickImplementations;(视图 | 快速定义) 打开预览。

Context actions