Skip to main content

Shortcut summary

  • Tab: Accept code completion suggestions and insert the completed code into the code editor
  • Esc: cancel code completion suggestion display
  • Alt +] (option + ]) : Show the next code completion suggestion
  • Alt + [ (option + [) : Show previous code completion suggestions
    • Alt + g (option + g): Actively trigger code completion
      1. vscode:ctrl + alt + v
  • Ctrl + alt + a (command + option + a): turn on/off auto-completion
  • Ctrl + alt + z (command + option + z): opens/closes the toolbar dialog box
  • Ctrl + alt + u (command + option + u): Open the toolbar dialog box and send the unit test generation request to the selected part of the code area
  • Ctrl + alt +/(command + option + /) : Open the toolbar dialog box and send a code comment generation request to the selected part of the code area
  • Ctrl + alt + e (command + option + e): Open the toolbar dialog box and send a code interpretation generation request to the selected part of the code area
  • Ctrl + alt + f (command + option + f): Open the toolbar dialog box and send a code optimization generation request to the selected part of the code area
  • Shift + enter (shift + enter): chat box - input box wrap
  • VS: ctrl + alt + t (command + option + t) as: alt + t (option + t): Open the toolbar dialog box and switch to the code translation interface, and input the selected part of the code area into the input section
  • VS: ctrl + alt + s (command + option + s) as: alt + s (option + s): Open the toolbar dialog box and switch to the code search interface
  • Ctrl + alt + k (command + option + k): Call up the code tag operation interface for the selected part of the code content.