当前位置:网站首页>Visual studio vs shortcut key usage
Visual studio vs shortcut key usage
2022-06-27 06:49:00 【EchoCoder】
VS Shortcut key use complete book
Shortcut key
notes :CTRL+K, CTRL+C
uncomment :CTRL+K, CTRL+U
Go back to the previous cursor position :CTRL±
Advance to next cursor position :CTRL+Shift±
Copy the whole line of code : The cursor stops on the line ,CTRL+C, Paste again CTRL+V
Cut the whole line of code : The cursor stops on the line ,CTRL+X
Delete entire line of code : The cursor stops on the line ,CTRL+L
revoke :CTRL+Z
Return cancellation :CTRL+Y
Set breakpoint debugging :F9, Breakpoint line does not execute
debugging ( start-up ):F5
Debug sentence by sentence :F11
Use the scroll bar to preview the entire file : Tools —> Options —> Text editor —> All languages —> Scroll bar —> Thumbnail mode with vertical scroll bar —> wide
Increase Indent :Tab
Reduce indent :Shift+Tab
Insert a line above the line where the cursor is located :CTRL+Enter
Insert a line below the line where the cursor is located :CTRL+Shift+Enter
Jump to definition :F12
Find all references :Shift+F12
lookup :CTRL+F
Replace :CTRL+H
forward / Backward search
- Use key combination “Ctrl+I”;
- Type text to search ( Move the cursor to the search term input box to start input );
- After typing the search text , You can use key combinations “Ctrl+I” And “Ctrl+Shift+I” Forward and backward search results , Search results will be highlighted .
- To end a search , Can press “ESC” Key or click the close button on the right side of the search box .
[ Add ] After selecting a word , Press key “Ctrl+F” You can also call up the search box , And the search results will also be highlighted .
Frame selection
Use key combination “Shift+Alt+ Direction key ( Or mouse )” To complete the box selection . Box selection allows you to select both lines and columns of code . This is very convenient for batch deletion of some codes .Navigate to beginning and end of line
A.home key : Navigate to the beginning of the current row ;
B.end key : Navigate to the end of the current row .Select from cursor to beginning of line ( tail ) Code between
A. Check the code from the beginning of the cursor to the beginning of the line : Use key combination “Shift + Home”;
B. Check the code from the beginning of the cursor to the end of the line : Use key combination “Shift + End”Call smart prompt
A. Method 1: Use key combination “Ctrl+J”;
B. Method 2: Use key combination “Alt+→”.Call parameter information prompt
For some functions with large function bodies , It's a bit of a hassle to easily confirm the usage of parameters within a function . In this case, you can place the cursor on the parameter name , Press the key combination again “Ctrl+Shif+ Space ”, Where the parameter is used is highlighted .Fast window switching
Use key combination “Ctrl+Tab”( It can be opened at this time IDE Navigation , Get an aerial view ).Quickly hide or show the current snippet
Use key combination “Ctrl+M,M”( remember : Press two times. M Oh ).Build solution
Use key combination “Ctrl+Shift+B”.Jump to a specified line
A. Method 1: Composite key “Ctrl+G”;
B. Method 2: Click the line number in the status barFull screen display / Exit full screen
Use key combination “ SHIFT + ALT + ENTER ”.toggle case
A. Turn lowercase : Use key combination “Ctrl+ U”;
B. Turn capitalization : Use key combination “CTRL + SHIFT + U”.
边栏推荐
- [QT notes] simple understanding of QT meta object system
- Ora-00909: invalid number of parameters, caused by concat
- Once spark reported an error: failed to allocate a page (67108864 bytes), try again
- POI replacing text and pictures in docx
- An Empirical Evaluation of In-Memory Multi-Version Concurrency Control
- 解决 Win10 Wsl2 IP 变化问题
- tar: /usr/local:归档中找不到tar: 由于前次错误,将以上次的错误状态退出
- TiDB 中的SQL 基本操作
- 卷积神经网络---CNN模型的应用(找矿预测)
- Meaning of 0.0.0.0:x
猜你喜欢

G1 and ZGC garbage collector

Caldera安装及简单使用

小米面试官:听你说精通注册中心,我们来聊 3 天 3 夜

主动学习(active learning)

Convolution neural network -- Application of CNN model (ore prospecting prediction)

Some settings about postfix completion code template in idea

快速实现Thread Mesh组网详解

【毕业季】毕业是人生旅途的新开始,你准备好了吗

Crawler learning 5--- anti crawling identification picture verification code (ddddocr and pyteseract measured effect)

面试官:请你介绍一下缓存穿透、缓存空值、缓存雪崩、缓存击穿的,通俗易懂
随机推荐
观测电机转速转矩
IDEA中关于Postfix Completion代码模板的一些设置
Active learning
TiDB 中的视图功能
MPC control of aircraft wingtip acceleration and control surface
tracepoint
主动学习(active learning)
Compatibility comparison between tidb and MySQL
Once spark reported an error: failed to allocate a page (67108864 bytes), try again
Us camera cloud service scheme: designed for lightweight video production scenes
Mathematical modeling contest for graduate students - optimal application of UAV in rescue and disaster relief
On gpu: historical development and structure
JVM tuning ideas
View functions in tidb
HTAP 深入探索指南
Instance tunnel use
TiDB 中的SQL 基本操作
小米面试官:听你说精通注册中心,我们来聊 3 天 3 夜
Idea one click log generation
快速实现单片机和手机蓝牙通信