Flutter Shortcuts for Dev -__-

Credit to Original Messenger

1.  Reformat code :: Alt+Shift+f

2. Remove unused imports ::  Alt+Shift+o




Thanks to Chase Adams I came to know about this wonderful keyboard shortcut, you have to take the terminal and go to the location where the workspace is and then type code -r. and then that workspace will open in current visual code window. If you want it to open to a new window, use the command code -n. and it will open the workspace in a new VS code window




Debug Shortcuts
These are some of the debugging shortcuts which will come in handy, hope you don’t need any examples for the same.
  • F5 - Start Debugging
  • Ctrl+F5 - Start Without Debugging
  • Shift+F5 - Stop Debugging
  • Ctrl+Shift+F5 (macOS: Cmd+Shift+F5) - Restart Debugging (Hot Reload when debugging Flutter apps)
  • Ctrl+F5 - Hot Restart (when debugging Flutter apps and in a debug session)
  • F9 - Toggle Breakpoint
  • F10 - Step Over
  • F11 - Step In
  • Shift+F11 - Step Out

Comments

Popular Posts