Reputation: 136
I read this on this article https://devblogs.microsoft.com/visualstudio/whats-new-in-net-productivity-with-visual-studio-2022/
The Code Definition Window now supports C# and Visual Basic allowing you to quickly understand and explore code. To use the Code Definition Window, select View > Window > Code Definition. Next, place your cursor on an identifier to navigate and explore code.
However, it doesn't work on my computer. The Code Definition Window simply shows "No definition selected". It works on a C++ project.
Did I miss anything?
Upvotes: 1
Views: 1119
Reputation: 26
It looks like this is a Visual Studio 2022 version 17.1 Preview 1 feature
NET Productivity
- Go To Definition from source information in PDBs.
- IntelliSense completion for await within an awaitable expression.
- Move static members to a new type refactoring.
- Simplify code to use the new C# 10.0 extended property patterns refactoring.
- Detect variable swaps and suggest using a tuple to swap values refactoring.
- Code definition window support for C# and Visual Basic.
- ...
https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes-preview
Upvotes: 1