開啓宏命令錄製:Edit - Macros - Start Macro Recording
命令
Code - Reformat Code with dart format
Code - Optimize Imports
File - Save All
結束宏命令錄製:Edit - Macros - Stop Macro Recording
命名之後在File - Settings - Keymap 中直接搜索後添加快捷鍵
開啓宏命令錄製:Edit - Macros - Start Macro Recording
命令
Code - Reformat Code with dart format
Code - Optimize Imports
File - Save All
結束宏命令錄製:Edit - Macros - Stop Macro Recording
命名之後在File - Settings - Keymap 中直接搜索後添加快捷鍵