当前位置:网站首页>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”。
边栏推荐
- 美摄云服务方案:专为轻量化视频制作场景打造
- C Primer Plus Chapter 11_ Strings and string functions_ Codes and exercises
- Centos7.9安装mysql 5.7,并设置开机启动
- Configuration of vscode korofileheader
- TiDB与 MySQL 兼容性对比
- 记一次Spark报错:Failed to allocate a page (67108864 bytes), try again.
- multiprocessing. Detailed explanation of pool
- 下载cuda和cudnn
- [QT notes] simple understanding of QT meta object system
- JVM garbage collection mechanism
猜你喜欢

聊聊领域驱动设计

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

G1 and ZGC garbage collector
[email protected][2389:1: columnNameTypeOrConstraint : ( ( tableConstraint ) | ( columnNameT"/>NoViableAltException([email protected][2389:1: columnNameTypeOrConstraint : ( ( tableConstraint ) | ( columnNameT

路由器和交换机的区别

JVM对象组成和存储

Redis 缓存穿透、缓存击穿、缓存雪崩

Yaml file encryption

建模竞赛-光传送网建模与价值评估

2022 le fichier CISP - Pte (i) contient:
随机推荐
2022 CISP-PTE(一)文件包含
427- binary tree (617. merge binary tree, 700. search in binary search tree, 98. verify binary search tree, 530. minimum absolute difference of binary search tree)
JVM tuning ideas
JVM调优思路
matlab GUI界面仿真直流电机和交流电机转速仿真
One year's experience of technical personnel in Entrepreneurship
ORA-00909: 参数个数无效,concat引起
TiDB 基本功能
Scala之偏函数Partial Function
[cultivation system] common regular expressions
NoViableAltException([email protected][2389:1: columnNameTypeOrConstraint : ( ( tableConstraint ) | ( columnNameT
426 binary tree (513. find the value in the lower left corner of the tree, 112. sum of paths, 106. construct a binary tree from the middle order and post order traversal sequence, 654. maximum binary
[QT dot] realize the watchdog function to detect whether the external program is running
Convolution neural network -- Application of CNN model (ore prospecting prediction)
Thesis reading skills
multiprocessing.pool详解
快速实现Thread Mesh组网详解
Dev++ 环境设置C语言关键字显示颜色
线程间等待与唤醒机制、单例模式、阻塞队列、定时器
TiDB的事务概览