VScode-Common-Shortcut

Keyboard shortcuts for windows

Keyboard Shortcut For Windows

General

ShortcutCommands
Ctrl + Shift + PShow command palette
Ctrl + PGo to file
Ctrl + Shift + NNew window/instance
Ctrl + Shift + WClose window/instance
Ctrl + ,User settings
Ctrl + K Ctrl + SKeyboard Shortcuts

Basic editing

ShortcutComamnds
Ctrl + /Toggle line comment
Shift + Alt + AToggle block comment
ShortcutCommands
Ctrl + TShow all Symbols
Ctrl + GGo to line
Ctrl + Shift + OGo to symbol
Alt + left/Right ArrowGo back/forward

Search and replace

ShortcutComamnds
Ctrl + FFind
Ctrl + HReplace
F3 /Shift + F3Find next /previous
Ctrl + DAdd selection to next Find match

Multi-cursor and selection

ShortcutCommands
Alt + clickInsert cursor
Shit + Alt + IInsert cursor at end of each line selected
Ctrl + ISelect current line
Ctrl + Shift + LSelect all occurences of current selection
Ctrl + F2Select all occurences of current word
Shift + Alt + (drag mouse)Column(Box) selection

Rich language editing

ShortcutsComamnds
Ctrl + Alt + FFormat document
Ctrl + K Ctrl + FFormat selection
F12Go to Definition
Alt + F12Peek Definition
Ctrl + K F12Open Definition to the side
Ctrl + .Quick Fix
Shift + F12Show references
F2Rename Symbol
Ctrl + K Ctrl + XTrim trailng Whitespace
Ctrl + K MChange file language

Editor management

ShortcutCommands
Ctrl + K FClose folder
Ctrl + \Split editor

File management

ShortcutCommands
Ctrl + NNew filev
Ctrl + OOpen file
Ctrl + SSave
Ctrl + Shift + SSave As
Ctrl + K SSave all
Ctrl + K Ctrl + WClose all
Ctrl + Shift + TReopen closed editor
Ctrl + TabOpen next
Ctrl + K PCopy Path of active file
Ctrl + K RReveal active file in Exporer
Ctrl + K OShow active file in new window/instance

Display

ShortcutCommands
F11Toggle full screen
Shit + Alt + 0Toggle editor layout (horizontal / vertical)
Ctrl + =/-Zoom in /out
Ctrl + BToggle sidebar visibility
Ctrl + Shift + EShow explorer / Toggle focus
Ctrl + Shift + FShow Search
Ctrl + Shift + GShow Source contrl
Ctrl + Shift + DShow Debugger
Ctrl + Shift + XShow extensions
Ctrl + Shift + HReplace in files
Ctrl + Shift + JToggle search details
Ctrl + Shift + UShow Output panel
Ctrl + Shift + VOpen Markdown Preview
Ctrl + K VOpen Markdown Preview to the side
Ctrl + K ZZen Mode

Debug

ShortcutCommands
F9Toggle breakpoint
F5Start
Shift + F5Stop
F11 /Shift + F11Step in /out
F10Step over
Ctrl + K Ctrl + IShow Hover

Intergrated Terminal

shortcutcommands
Ctrl + "`"Show intergrated terminal

Ctrl + Shift + "`" | Create new terminal

转载于:https://www.cnblogs.com/rosendolu/p/10034482.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值