I wanted to jump a function quickly when i saw a call of that , in Qt Creator you could simply click on foo , and it will jump to the right file , and the right line
int ret = foo();
How can i do this in VS ?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Press F12 when the cursor is on the symbol you want to go to (actually depending on your keyboard config).
[Edit] The command you have to map is
Edit.GoToDefinition, if you want to setup something else than F12 [/Edit]Right click and choose “Go to definition”
Or use the Go To Definition extention to allow Ctrl+Click to go to definition (I love this extention :p )