0

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

1 Answer 1

0

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.