Constantly opening files to check definitions? Peek Definition shows code inline without switching files.
Use Peek:
Right-click symbol → Peek Definition (or Alt+F12)
Features:
– Shows definition in popup window
– Edit code directly in peek window
– Navigate to related definitions
– Multiple peeks can be open simultaneously
Keyboard Navigation:
– Alt+F12: Peek Definition
– Ctrl+Click: Go to Definition (opens file)
– Esc: Close peek window
Why Better: Stay in your file, no context switching, faster workflow. Especially useful when reading through code or debugging!
