全站限时优惠至少 5 折起, 大约 23 小时后恢复原价

  • 求知小风 · 元婴
    求知小风 · 元婴
    # VSCode Shortcuts
    
    > List of helpful shortcuts for faster coding
    
    ## Official List of all commands
    
    * [Windows](https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf)
    * [Mac](https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf)
    
    ## Open/View
    
    Open Command Pallete
    
    ```bash
    Shift+Cmd+P
    Shift+Ctrl+P
    

    Access Settings

    Cmd+,
    Ctrl+,
    

    Toggle Terminal

    Ctrl+`
    Ctrl+`
    

    Create New Terminal

    Shift+Cmd+`
    Shift+Ctrl+`
    

    Toggle Sidebar

    Cmd+B 
    Ctrl+B
    

    Open New Window/Instance

    Shift+Cmd+N 
    Shift+Ctrl+N
    

    Close Window

    Cmd+W 
    Ctrl+W
    

    Working With Files

    Sidebar Focus

    Shift+Cmd+E
    Shift+Ctrl+E
    

    Open File/Folder From Sidebar

    Cmd+Down
    Ctrl+Down
    

    Change File Tabs

    Ctrl+Tab 
    Ctrl+PageUP
    

    Quick File Open

    Cmd+P
    Ctrl+P
    

    Open File From Explorer

    Cmd+O
    Ctrl+O
    

    New File

    Cmd+N
    Ctrl+N
    

    Save

    Cmd+S
    Ctrl+S
    

    Save As

    Shift+Cmd+S
    Shift+Ctrl+S
    

    Close File

    Cmd+W
    Ctrl+W
    

    Delete File

    Cmd+Delete
    Ctrl+Delete
    

    Reopen Files

    Shift+Cmd+T
    Shift+Ctrl+T
    

    Zoom

    Cmd++ # Zoom in
    Cmd+- # Zoom out
    
    Ctrl++ # Zoom in
    Ctrl+- # Zoom out
    

    Spilt Editor

    Cmd+\
    Ctrl+\
    

    Code Editing

    Go To Start & End Of Line

    Cmd+Right
    Cmd+Left
    
    Ctrl+Right
    Ctrl+Left
    
    home
    end
    

    Move By Word

    Cmd+Right
    Cmd+Left
    
    Ctrl+Right
    Ctrl+Left
    

    Go To Start & End Of File

    Cmd+Up
    Cmd+Down
    
    Ctrl+Home
    Ctrl+End
    

    Cut, Copy & Past Line

    Cmd+X #Cut
    Cmd+C #Copy
    Cmd+V #Paste
    
    Ctrl+X # Cut
    Ctrl+C # Copy
    Ctrl+V # Paste
    

    Move Line Up & Down

    Option+Up
    Option+Down
    
    Alt+Up
    Alt+Down
    

    Copy Line Up & Down

    Shift+Option+Up
    Shift+Option+Down
    
    Shift+Alt+Up
    Shift+Alt+Down
    

    Remove Line

    ShiftCmd+K
    Shift+Ctrl+K
    

    Insert Line

    Cmd+Enter # Insert below
    Shift+Cmd+Enter # Insert above
    
    Ctrl+Enter # Insert below
    Shift+Ctrl+Enter # Insert above
    

    Jump To Matching Bracket

    Shift+Cmd+\
    Shift+Ctrl+\
    

    Add Line Comment

    Cmd+/
    Ctrl+/
    

    Add Block Comment

    Shift+Option+A
    Shift+Alt+A
    

    Highlight Code

    Shift+Any Direction
    

    Select Next Match

    Cmd+D
    Ctrl+D
    

    Add Cursor

    Option+Click
    Alt+Click
    

    Go to Entity (Functions, vars, etc)

    Cmd+Shift+O
    Ctrl+Shift+O
    
0 条回复
暂无回复~~

© 汕尾市求知科技有限公司 | 关注我们 | 在线学员:127

粤公网安备 44152102000088号 | 粤ICP备19038915号

Top