How to: View and edit code by using Peek Definition (Alt+F12)
How to: View and edit code by using Peek Definition (Alt+F12)
You can use the Peek Definition command to view and edit code without switching away from the code that you're writing.
Peek Definition and Go To Definition show the same information, but Peek Definition shows it in a pop-up window, and Go To Definition shows the code in a separate code window.
Go To Definition causes your context (that is, the active code window, current line, and cursor position) to switch to the definition code window. By using Peek Definition, you can view and edit the definition and move around inside the definition file while keeping your place in the original code file.
You can use Peek Definition with C#, Visual Basic, and C++ code. In Visual Basic, Peek Definition shows a link to the Object Browser for symbols that don't have definition metadata (for example, .NET types that are built in).
相关文章
- 为什么企业里用 VS Code 的这么多?
- horizontal line and right way to code it in html, css
- What are the benefits to using anonymous functions instead of named functions for callbacks and parameters in JavaScript event code?
- JavaScript modularity with RequireJS (from spaghetti code to ravioli code)
- icmp协议介绍,type code 对应表
- code=MSG_SIZE_TOO_LARGE,val=10,str=“Unable to prod uce message: Broker: Message size too large“
- Error Code : 1456 Recursive limit 0 (as set by the max_sp_recursion_depth variable) was exceeded for routine pro_app_rs_right_update···
- NPM的天坑: 解决ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE
- SQL server 导出平面文件时出错: The code page on Destination - 3_txt.Inputs[Flat File Destination Input].Columns[UserId] is 936 and is required to be 1252.
- Storyboards vs NIB vs Code 大辩论
- Maven-008-Nexus 私服部署发布报错 Failed to deploy artifacts: Failed to transfer file: ... Return code is: 4XX, ReasonPhrase: ... 解决方案
- Failed to set version to docker-desktop: exit code: -1
- 九度OJ #1437 To Fill or Not to Fil
- The incident LOST_EVENTS occured on the master. Message: error writing to the binary log, Error_code
- 10 ways to be a faster code reviewer--reference
- 《To prune, or not to prune:exploring the efficacy of pruning for model compression》论文笔记
- 1092 To Buy or Not to Buy
- 89. Gray Code