当前位置:网站首页>Vscode shortcut key (the most complete) [easy to understand]
Vscode shortcut key (the most complete) [easy to understand]
2022-07-01 11:16:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
Press Press | function Function |
---|---|
Ctrl + Shift + P,F1 | Show Command Panel Show Command Palette |
Ctrl + P | fast open Quick Open |
Ctrl + Shift + N | New window / example New window/instance |
Ctrl + Shift + W | close window / example Close window/instance |
Basic editor Basic editing
Press Press | function Function |
---|---|
Ctrl+X | Cut line ( Empty selection ) Cut line (empty selection) |
Ctrl+C | Copy line ( Empty selection )Copy line (empty selection) |
Alt+ ↑ / ↓ | Up / Move line down Move line up/down |
Shift+Alt + ↓ / ↑ | Up / Copy lines down Copy line up/down |
Ctrl+Shift+K | Delete row Delete line |
Ctrl+Enter | Insert a line below Insert line below |
Ctrl+Shift+Enter | Insert a line above Insert line above |
Ctrl+Shift+\ | Jump to the matching bracket Jump to matching bracket |
Ctrl+] / [ | Indent / Go ahead Indent/outdent line |
Home | Go to the beginning of the line Go to beginning of line |
End | Go to the end of the line Go to end of line |
Ctrl+Home | Go to the beginning of the file Go to beginning of file |
Ctrl+End | Go to the end of the file Go to end of file |
Ctrl+↑ / ↓ | Up / Scroll down the line Scroll line up/down |
Alt+PgUp / PgDown | Up / Scroll down the page Scroll page up/down |
Ctrl+Shift+[ | Fold ( Fold ) Area Fold (collapse) region |
Ctrl+Shift+] | an ( Unfolded ) Area Unfold (uncollapse) region |
Ctrl+K Ctrl+[ | Fold ( Unfolded ) All sub regions Fold (collapse) all subregions |
Ctrl+K Ctrl+] | an ( Unfolded ) All sub regions Unfold (uncollapse) all subregions |
Ctrl+K Ctrl+0 | Fold ( Fold ) All areas Fold (collapse) all regions |
Ctrl+K Ctrl+J | an ( Unfolded ) All areas Unfold (uncollapse) all regions |
Ctrl+K Ctrl+C | Add line comments Add line comment |
Ctrl+K Ctrl+U | Delete line comment Remove line comment |
Ctrl+/ | Switch line comments Toggle line comment |
Shift+Alt+A | Toggle block comment Toggle block comment |
Alt+Z | Switch line feed Toggle word wrap |
Navigation Navigation
Press Press | function Function |
---|---|
Ctrl + T | Show all symbols Show all Symbols |
Ctrl + G | go to line … Go to Line… |
Ctrl + P | Go to file … Go to File… |
Ctrl + Shift + O | Go to the symbol … Go to Symbol… |
Ctrl + Shift + M | Show the question panel Show Problems panel |
F8 | Go to the next error or warning Go to next error or warning |
Shift + F8 | Go to the previous error or warning Go to previous error or warning |
Ctrl + Shift + Tab | Navigation editor group history Navigate editor group history |
Alt + ←/→ | return / Forward Go back / forward |
Ctrl + M | Switch tabs, move focus Toggle Tab moves focus |
Search and replace Search and replace
Press Press | function Function |
---|---|
Ctrl + F | lookup Find |
Ctrl + H | Replace Replace |
F3 / Shift + F3 | Find the next one / the previous Find next/previous |
Alt + Enter | Select to find all occurrences that match Select all occurences of Find match |
Ctrl + D | Add the selection to the next find match Add selection to next Find match |
Ctrl + K Ctrl + D | Move the last selection to the next find match Move last selection to next Find match |
Alt + C / R / W | Toggle case sensitivity / Regular expressions / The whole word Toggle case-sensitive / regex / whole word |
Multiple cursors and selection Multi-cursor and selection
Press Press | function Function |
---|---|
Alt + single click | Insert cursor Insert cursor |
Ctrl + Alt +↑/↓ | On top / Insert the cursor below Insert cursor above / below |
Ctrl + U | Undo the last cursor action Undo last cursor operation |
Shift + Alt + I | Inserts a cursor at the end of each selected line Insert cursor at end of each line selected |
Ctrl + I | Select the current line Select current line |
Ctrl + Shift + L | Select all occurrences of the current selection Select all occurrences of current selection |
Ctrl + F2 | Select all occurrences of the current word Select all occurrences of current word |
Shift + Alt + → | Expand the selection Expand selection |
Shift + Alt + ← | Narrow down the options Shrink selection |
Shift + Alt + ( Drag the mouse ) | Column ( box ) choice Column (box) selection |
Ctrl + Shift + Alt +( Arrow keys ) | Column ( box ) choice Column (box) selection |
Ctrl + Shift + Alt + PgUp / PgDown | Column ( box ) On the selection page / Next Column (box) selection page up/down |
Rich language editors Rich languages editing
Press Press | function Function |
---|---|
Ctrl + Space | Trigger suggestions Trigger suggestion |
Ctrl + Shift + Space | Trigger parameters prompt Trigger parameter hints |
Tab | Emmet Expand Abbreviation Emmet expand abbreviation |
Shift + Alt + F | Format document Format document |
Ctrl + K Ctrl + F | Format selection area Format selection |
F12 | Go to definition Go to Definition |
Alt + F12 | Peek Definition Peek Definition |
Ctrl + K F12 | Open definition to edge Open Definition to the side |
Ctrl + . | Solve it quickly Quick Fix |
Shift + F12 | Show references Show References |
F2 | Rename symbol Rename Symbol |
Ctrl + Shift + . /, | Replace with the next / Previous value Replace with next/previous value |
Ctrl + K Ctrl + X | Trim trailing spaces Trim trailing whitespace |
Ctrl + K M | Change file language Change file language |
Editor management Editor management
Press Press | function Function |
---|---|
Ctrl+F4, Ctrl+W | Close the editor Close editor |
Ctrl+K F | Close folder Close folder |
Ctrl+\ | Split editor Split editor |
Ctrl+ 1 / 2 / 3 | Focus on number one 1, The first 2 Or the first 3 Editor group Focus into 1st, 2nd or 3rd editor group |
Ctrl+K Ctrl+ ←/→ | Focus on the previous one / The next editor group Focus into previous/next editor group |
Ctrl+Shift+PgUp / PgDown | towards the left / Move the editor right Move editor left/right |
Ctrl+K ← / → | Move active editor group Move active editor group |
file management File management
Press Press | function Function |
---|---|
Ctrl+N | A new file New File |
Ctrl+O | Open file … Open File… |
Ctrl+S | preservation Save |
Ctrl+Shift+S | Save as … Save As… |
Ctrl+K S | Save all Save All |
Ctrl+F4 | close Close |
Ctrl+K Ctrl+W | Close all Close All |
Ctrl+Shift+T | Reopen the closed editor Reopen closed editor |
Ctrl+K | Input remains on Enter Keep Open |
Ctrl+Tab | Open the next one Open next |
Ctrl+Shift+Tab | Open the last one Open previous |
Ctrl+K P | Copy the path of the active file Copy path of active file |
Ctrl+K R | Displays the active file in Explorer Reveal active file in Explorer |
Ctrl+K O | Show a new window / The active file in the instance Show active file in new window/instance |
Show Display
Press Press | function Function |
---|---|
F11 | Toggle full screen Toggle full screen |
Shift+Alt+1 | Switch editor layout Toggle editor layout |
Ctrl+ = / – | Zoom in / narrow Zoom in/out |
Ctrl+B | Toggle sidebar visibility Toggle Sidebar visibility |
Ctrl+Shift+E | Show browser / Switch focus Show Explorer / Toggle focus |
Ctrl+Shift+F | Show search Show Search |
Ctrl+Shift+G | Show Git Show Git |
Ctrl+Shift+D | Display debugging Show Debug |
Ctrl+Shift+X | Display extension Show Extensions |
Ctrl+Shift+H | Replace file Replace in files |
Ctrl+Shift+J | Switch search details Toggle Search details |
Ctrl+Shift+C | Open a new command prompt / terminal Open new command prompt/terminal |
Ctrl+Shift+U | Display output panel Show Output panel |
Ctrl+Shift+V | Switch Markdown preview Toggle Markdown preview |
Ctrl+K V | Open from the side Markdown preview Open Markdown preview to the side |
debugging Debug
Press Press | function Function |
---|---|
F9 | Switch breakpoints Toggle breakpoint |
F5 | Start / continue Start/Continue |
Shift+F5 | stop it Stop |
F11 / Shift+F11 | next step / The previous step Step into/out |
F10 | skip Step over |
Ctrl+K Ctrl+I | Show hover Show hover |
Integrated terminal Integrated terminal
Press Press | function Function |
---|---|
Ctrl+` | Display integrated terminal Show integrated terminal |
Ctrl+Shift+` | Create a new terminal Create new terminal |
Ctrl+Shift+C | Copy selected Copy selection |
Ctrl+Shift+V | Paste to the active terminal Paste into active terminal |
Ctrl+↑ / ↓ | Up / Scroll down Scroll up/down |
Shift+PgUp / PgDown | Up / Scroll down the page Scroll page up/down |
Ctrl+Home / End | Scroll to top / Bottom Scroll to top/bottom |
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/131686.html Link to the original text :https://javaforall.cn
边栏推荐
- 【AI资讯月刊】350+资源大盘点!6月不容错过的资料和动态,都都都在这里啦!<附下载>
- Graduation season · advanced technology er
- Ten years of sharpening a sword: unveiling the secrets of ant group's observability platform antmonitor
- 英特尔实验室公布集成光子学研究新进展
- Introduction to unittest framework and the first demo
- 商城小程序源码开源版-可二开
- LeetCode. One question of the day: offer II 091 Paint the house (DP problem)
- LeetCode.515. 在每个树行中找最大值___逐一BFS+DFS+按层BFS
- What are the advantages and disadvantages of PHP
- How does MySQL copy table data from one database to another (two databases are not linked to the same database)
猜你喜欢
The first anniversary of the data security law, which four major changes are coming?
Ten years of sharpening a sword: unveiling the secrets of ant group's observability platform antmonitor
TEMPEST HDMI泄漏接收 5
Brief analysis of edgedb architecture
node版本管理器nvm安装及切换
Google's new paper Minerva: solving quantitative reasoning problems with language models
英特尔实验室公布集成光子学研究新进展
Face detection and recognition system based on mtcnn+facenet
JS foundation -- data type
YoDA统一数据应用——融合计算在蚂蚁风险场景下的探索与实践
随机推荐
【AI资讯月刊】350+资源大盘点!6月不容错过的资料和动态,都都都在这里啦!<附下载>
Personal mall two open Xiaoyao B2C mall system source code - Commercial Version / group shopping discount seckill source code
Combination of Oracle and JSON
Several cases of index failure
商汤进入解禁期:核心管理层自愿禁售 强化公司长期价值信心
Network security learning notes 01 network security foundation
Oracle和JSON的结合
Guys, how to export iceberg data to MySQL? What tools are there? Neither sqoop nor dataX
y48.第三章 Kubernetes从入门到精通 -- Pod的状态和探针(二一)
CVPR 2022 | Virtual Correspondence: Humans as a Cue for Extreme-View Geometry
tmux使用
The idea runs with an error command line is too long Shorten command line for...
十年磨一剑:蚂蚁集团可观测性平台 AntMonitor 揭秘
MySQL in and not in() empty list error
JS基础--数据类型
Can I open a securities account anywhere? Is it safe to open an account
Nordic nrf52832 flash 下载M4错误
CANN算子:利用迭代器高效实现Tensor数据切割分块处理
Introduction to unittest framework and the first demo
TEMPEST HDMI泄漏接收 5