当前位置:网站首页>Vscode shortcut key
Vscode shortcut key
2022-06-28 13:06:00 【HHppGo】
VsCode You can use the following shortcut keys formatting code :
On Windows Shift + Alt + F ( It's very easy to use ! Is there any !QAQ)
On Mac Shift + Option + F
1、 Up / Move the line of code down
alt+ Down arrow / up arrow
2、 Up / Copy one line down
shift+alt+ Down arrow / up arrow
3、 Select multiple identical words
ctrl + d
4、 Global replacement
ctrl + h
5、 Quickly navigate to a line
ctrl + g
6、 Zoom in and out of the entire editor interface
ctrl + + / -
7、 Add multiple cursors
Ctrl + Alt + up arrow / Down arrow
Ctrl + Hold down the middle mouse button + Drag up or down
Do not press... On the first click Ctrl + Alt , Press and hold on the second click Ctrl +Alt
8、 Select a block
Hold down alt + shift Then drag the mouse
9、 Select row
Hold down alt + shift + left arrow / Right arrow
10、 Position the cursor at the beginning of the word / Word endings
Ctrl + left arrow / Right arrow
11、 Select word
Ctrl + shift + left arrow / Right arrow
12、 Position the cursor at the beginning of the line / Line not
Home/End
13、 Renaming a variable
Many times , We all name variables casually , Then change the habit of variables , So renaming variables we often encounter , stay vscode in , Select a variable , Hold down F2 key , Fill in a new name and press enter key , All variables with the same name will be modified at the same time .
Select the variable f2
14、 Jump to errors and warnings
An interesting shortcut is , We can go through Ctrl + Shift + M Open error tab page , Then we can jump to the wrong places and fix them , This is a shortcut key that cannot be left once used .
Ctrl + Shift + M
15、 Collapse the mouse area
Shift + Ctrl + [
16、 Expand the mouse area
Shift + Ctrl + ]
17、 Collapse all collapsible areas of the current page
ctrl + 0
18、 Increase Indent
Ctrl + [
19、 Reduce indent
Ctrl + ]
The source of the original text is :https://blog.csdn.net/weixin_45022563/article/details/124497299
边栏推荐
- Continuous integration practice of Baidu app based on pipeline as code
- 微服务稳定性保障
- JS class 并不只是简单的语法糖!
- redis和mysql数据不一致问题如何解决?
- 哈希竞猜游戏系统开发技术成熟案例及源码
- Validateur async. Vérificateur de données JS
- 895. 最长上升子序列
- Tencent has confirmed that QQ has stolen numbers on a large scale, iphone14 has no chance of type-C, and 5g, the fourth largest operator, has officially released numbers. Today, more big news is here
- 高考失利進哈工大,畢業卻留校要當“探索者”,丁效:科研就是厚積薄發
- PHP抓取网页获取特定信息
猜你喜欢

中二青年付杰的逆袭故事:从二本生到 ICLR 杰出论文奖,我用了20年

Copying open source for basic software is not advisable. Self reliance is the right way

Commonly used "redmine" for # test bug

Centos6.5 php+mysql MySQL library not found

Evaluation of IP location query interface I

In the past four years, the number of users exceeded 100 million, and sun Ge led the wave field to a new high

Shareit a une force exceptionnelle et se connecte au top 7 de la liste mondiale des forces IAP

go template with... End traversal usage

弹性盒子自动换行小Demo

基于SSM实现水果蔬菜商城管理系统
随机推荐
. Net hybrid development solution 24 webview2's superior advantages over cefsharp
PHP抓取网页获取特定信息
词云的可视化设计教程
1015.摘花生
Scratch travel photo album Electronic Society graphical programming scratch grade examination level 1 true questions and answers analysis June 2022
移动Web实训DAY-2
Commonly used "redmine" for # test bug
Google Earth engine (GEE) - Global organic soil area of FAO (1992-2018)
Go language learning notes - Gorm usage - database configuration, table addition | web framework gin (VII)
You must configure either the server or JDBC driver (via the ‘serverTimezone‘ configuration property
FS7022方案系列FS4059A双节两节锂电池串联充电IC和保护IC
哈希竞猜游戏系统开发技术成熟案例及源码
Copying open source for basic software is not advisable. Self reliance is the right way
VS2012 VC新建一个空白窗口应用
电子元器件分销10亿俱乐部[通俗易懂]
SHAREit實力出眾,登陸全球 IAP 實力榜 Top7
Wi-Fi 7 来啦,它到底有多强?
Fh511+tp4333 form an outdoor mobile power lighting camping lamp scheme.
一种跳板机的实现思路
Flink stream processing API collection: master all Flink stream processing technologies. Just read this article