Is Visual Studio Code has tooltip Go To Type Definition function like Visual Studio or Rider, when you can go to definition by mouse clicking? VS 2022 has option "Enable mouse click to perform Go To Definition" but i could not find anything in settings of VS Code. If it is important i using c# language.
1 Answer
If you are using C#, you would need something like the .NET Extension Pack (or at least the C# extension) installed for that.
For testing, I opened a .NET project with VSCode:
Without any extension installed, the editor wouldn't have configured the shortcut and neither would understand C# semantics to navigate to definitions.
As soon as I installed the said extension pack, I was able to use the shortcut "ctrl + click" (configured by default in the extension) over a class identifier to navigate to its definition.
