When editing
Alt + F7 在打开的所有窗口中选择:不松开Alt,按左右键导航
ctrl + ] go to ({['s match
ctrl + - go previous view
ctrl + shift + - go next view
ctrl + Tab next file
ctrl + shift + Tab previous file
ctrl + F4 close current tab
F12 Go to definition
Ctrl+W, D Open definition window 读代码的时候非常好用
F7 go to code
shift+F7 go to designer
Ctrl+Shift+L Delete line
Ctrl+Shift+V Cycle Clipboard Paste(Can find previous content on clipboard)
Ctrl+Shift+U To Lower case
Ctrl+U To Upper case
Ctrl+E,D Format all code
Ctrl+E,F Format selected code
Ctrl+E,C Comment out selected code
Ctrl+E,U Undo comment out selected code
Ctrl + Down/Up Scroll one line, keep cursor still
Alt+Shift+Enter Toggle full Screen
Bookmark
Ctrl+B,T Toggle
Ctrl+B,N Next
Ctrl+B,P Previous
Ctrl+B,C Clear all
When debugging(many other useful windows in menu Debug/Windows)
Ctrl+D,B Break point window
Ctrl+D,I Immediate window
Ctrl+D,L Local varibles
Ctrl+D,C Call stack
Ctrl+D,W Watch window
Ctrl+F10 Run to cursor
右键按钮,W Add to Watch
When cursor on sth
Ctrl+K,I quick Info
Ctrl+K,P Parameter
Ctrl+K,L member List
Windows
ctrl+W, C Class view
ctrl+W, D Definition window
ctrl+W, S Solution explorer
ctrl+W, P Properties
ctrl+W, T Taks list
ctrl+W, E Error list
ctrl+W, O Output
Outlining
ctrl+M, O collapse to definition
ctrl+M, P stop outlining
Refactoring
Command Name | Shortcut Keys | Description |
EncapsulateField | CTRL + R, E | Displays the Encapsulate Field Dialog Box, which allows for creation of a property from an existing field and updates all references to use the new property. |
ExtractInterface | CTRL + R, I | Displays the Extract Interface Dialog Box, which allows for creation of a new interface with members derived from an existing class, struct, or interface. |
ExtractMethod | CTRL + R, M | Displays the Extract Method Dialog Box, which allows for creation of a new method from the selected code. |
Rename | CTRL + R, R | Displays the Rename Dialog Box, which allows for renaming all references for an identifier. |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架