2

Hey is it possible in Visual Studio Code to just click on the name of a class/method and then the program will open the file with definition of this class/method? I have big project and I am looking for a good way to move between different files.

1 Answer 1

1

Right Click on the class Name and then choose Go to Definition. For example if you want to go to the definition of a class named Person, place the cursor on that word and then right click and click on Go to Definition or just press F12

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

2 Comments

It doesn't work :( I open a file, and in this file I have a class which inherits from another class. I select name of this class and click "Go to definition" and I get "No definition found for ...".
Your intellisense engine may be broken check out this link on how to resolve that stackoverflow.com/questions/10237744/…

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.