Peek Definition
Jens Fischer edited this page Jun 30, 2017
·
5 revisions
"Peek Definition" is a more "lightweight" version of Go to Definition. It shows you the definition in a hover hint rather than opening a new file or changing the location in the current one.
The easiest way to use "Peek Definition" is hovering over an identifier while Ctrl is held down:
If you use the context menu or Alt+F12, the definition is expanded inline in the current document:
Setup
Features
- Tasks
- Debugging
- Commands
- Dependency Explorer
- Auto Indentation
- Completion
- Postfix Completion
- Snippets
- Code Generation
- Signature Help
- Hover Hints
- Go to Definition
- Go to Type Definition
- Go to Implementations
- Peek Definition
- Find All References
- Rename Symbol
- Document Symbols
- Workspace Symbols
- Outline
- Folding
- Diagnostics
- Code Actions
- Code Lens
- Formatting
- Extension API
- Inlay Hints
Noteworthy Releases