# Shortcuts

Mac OS Shortcuts Windows Shortcuts Description
⌘ + Q Exit from the Weixin DevTools
⇧ + ⌘ + N shift + ctrl + N Creat a project
⇧ + ⌘ + W shift + ctrl + W Close the current project
Files
⌘ + N ctrl + N Create a file
⌘ + S ctrl + S Save a file
⇧ + ⌘ + S shift + ctrl + S Save all files
⌘ + W ctrl + W Close the current file
Edit
⌘ + Z ctrl + Z Undo
⇧ + ⌘ + Z shift + ctrl + Z Redo
⌘ + C ctrl + C Copy
⌘ + X ctrl + X Cut
⌘ + V ctrl + V Paste
⌘ + [ ctrl + [ Left indent
⌘ + ] ctrl + ] Right indent
⇧ + ⌥ + F shift + alt + F Format
⌥ + ⬆ alt + ⬆ Move line up
⌥ + ⬇ alt + ⬇ Move line down
⇧ + ⌥ + ⬆ shift + alt + ⬆ Copy and paste above
⇧ + ⌥ + ⬇ shift + alt + ⬇ Copy and paste below
⌘ + P ctrl + P Go to a file
⌘ + E ctrl + E Go to the recent file
⌘ + ⌥ + ⬅ ctrl + alt + ⬅ Open the file to the left of file editor
⌘ + ⌥ + ➡ ctrl + alt + ➡ Open the file to the right of file editor
⌘ + F ctrl + F Search within a file
⇧ + ⌘ + F shift + ctrl + F Search within a project
⇧ + ⌘ + R shift + ctrl + R Focus in the editor, indicating replacement
Tools
⌘ + B ctrl + B Compile a project
⌘ + R ctrl + R Compile a project with focus outside the editor
⇧ + ⌘ + P shift + ctrl + P Preview code
⇧ + ⌘ + U shift + ctrl + U Upload code
Interface
⌘ + , ctrl + , Open Settings