当前位置:网站首页>Visual Studio VS 快捷键使用大全
Visual Studio VS 快捷键使用大全
2022-06-27 06:28:00 【EchoCoder】
VS 快捷键使用大全
快捷键
注释:CTRL+K, CTRL+C
取消注释:CTRL+K, CTRL+U
回到上一个光标位置:CTRL±
前进到下一个光标位置:CTRL+Shift±
复制整行代码:光标停在该行,CTRL+C,再粘贴CTRL+V
剪切整行代码:光标停在该行,CTRL+X
删除整行代码:光标停在该行,CTRL+L
撤销:CTRL+Z
返撤销:CTRL+Y
设置断点调试:F9,断点行不执行
调试(启动):F5
逐语句调试:F11
使用滚动条预览整个文件:工具—>选项—>文本编辑器—>所有语言—>滚动条—>使用垂直滚动条的缩略图模式—>宽
增加缩进:Tab
减少缩进:Shift+Tab
在光标所在行的上面插入一行:CTRL+Enter
在光标所在行的下面插入一行:CTRL+Shift+Enter
跳转到定义:F12
查找所有引用:Shift+F12
查找:CTRL+F
替换:CTRL+H
向前/向后搜索
- 使用组合键“Ctrl+I”;
- 键入待搜索文本(将光标移至搜索词输入框位置即可开始输入);
- 键入搜索文本后,可以使用组合键“Ctrl+I”及“Ctrl+Shift+I”前后定位搜索结果,搜索结果会被高亮显示。
- 要结束搜索,可以按“ESC”键或者点击查找框右侧的关闭按钮。
[补充]选择一个单词后,按组合键“Ctrl+F”也可调出查找框口,且搜索结果也会被高亮显示。
框式选择
使用组合键“Shift+Alt+方向键(或鼠标)”即可完成框式选择。框式选择允许你同时对代码行和列进行选择。这对批量删除某些代码很方便的哦。定位到行首与行尾
A.home键:定位到当前行的行首;
B.end键:定位到当前行的行尾。选中从光标起到行首(尾)间的代码
A. 选中从光标起到行首间的代码:使用组合键“Shift + Home”;
B.选中从光标起到行尾间的代码:使用组合键“Shift + End”调用智能提示
A.方法1:使用组合键“Ctrl+J”;
B.方法2:使用组合键“Alt+→”。调用参数信息提示
对于某些函数体较大的函数来说,想轻松地确认参数在函数内部的使用情况是件比较麻烦的事情。这时可以将光标置于参数名上,再按组合键“Ctrl+Shif+空格”,参数被使用的地方会被高亮显示。快速切换窗口
使用组合键“Ctrl+Tab”(此时可以打开IDE的导航,获得鸟瞰视图)。快速隐藏或显示当前代码段
使用组合键“Ctrl+M,M”(记住:要按两次M哦)。生成解决方案
使用组合键“Ctrl+Shift+B”。跳转到指定的某一行
A.方法1:组合键“Ctrl+G”;
B.方法2:单击状态栏中的行号全屏显示/退出全屏显示
使用组合键“ SHIFT + ALT + ENTER ”。大小写转换
A.转小写:使用组合键“Ctrl+ U”;
B.转大写:使用组合键“CTRL + SHIFT + U”。
边栏推荐
- 使用 WordPress快速个人建站指南
- Redis cache penetration, cache breakdown, cache avalanche
- 2018 mathematical modeling competition - special clothing design for high temperature operation
- 卷积神经网络---CNN模型的应用(找矿预测)
- When there are multiple El select, the selected value is filtered by El select, and the last selected value is filtered by the second El select
- 426-二叉树(513.找树左下角的值、112. 路径总和、106.从中序与后序遍历序列构造二叉树、654. 最大二叉树)
- Run opcua protocol demo on raspberry pie 4B to access kubeedge
- Instance Tunnel 使用
- Meaning of 0.0.0.0:x
- C Primer Plus Chapter 11_ Strings and string functions_ Codes and exercises
猜你喜欢
[email protected][2389:1: columnNameTypeOrConstraint : ( ( tableConstraint ) | ( columnNameT"/>NoViableAltException([email protected][2389:1: columnNameTypeOrConstraint : ( ( tableConstraint ) | ( columnNameT

Information System Project Manager - Chapter VII project cost management

使用CSDN 开发云搭建导航网站

Fast implementation of thread mesh networking

Multithreading basic Part3

观测电机转速转矩

IDEA一键生成Log日志

机 器 学 习

Centos7.9安装mysql 5.7,并设置开机启动

Thinking technology: how to solve the dilemma in work and life?
随机推荐
Yaml file encryption
Transaction overview of tidb
Convolution neural network -- Application of CNN model (ore prospecting prediction)
Scala之偏函数Partial Function
When there are multiple El select, the selected value is filtered by El select, and the last selected value is filtered by the second El select
vscode korofileheader 的配置
网关状态检测 echo request/reply
Quick personal site building guide using WordPress
Modeling competition - optical transport network modeling and value evaluation
The restart status of the openstack instance will change to the error handling method. The openstack built by the container restarts the compute service method of the computing node and prompts the gi
The SCP command is used in the expect script. The perfect solution to the problem that the SCP command in the expect script cannot obtain the value
1317. convert an integer to the sum of two zero free integers
可扩展哈希
[getting started] regular expression Basics
Run opcua protocol demo on raspberry pie 4B to access kubeedge
2022 le fichier CISP - Pte (i) contient:
Using CSDN to develop cloud and build navigation websites
[cultivation system] common regular expressions
JVM object composition and storage
The fourth question of the 299th weekly match 6103 Minimum fraction of edges removed from the tree