Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to show uses of function in Visual Studio Code?

I am used from Pycharm to be able to press ctrl + click on a function definition and see the uses. Is there an equivalent in VSC?

like image 551
Hakaishin Avatar asked Jan 15 '17 23:01

Hakaishin


People also ask

How do you get a function list in Visual Studio code?

gotoSymbol command. On Windows and Linux it's set to CTRL + Shift + O by default. If this command isn't available for the file types you are working with then you should take a look at the VSCode extensions. Not all languages support this feature.

How do you check references in VS Code?

You can use the Find All References command to find where particular code elements are referenced throughout your codebase. The Find All References command is available on the context (right-click) menu of the element you want to find references to. Or, if you are a keyboard user, press Shift + F12.


1 Answers

you can use shift+f12 for get better view of usage

https://github.com/Microsoft/vscode-tips-and-tricks

read this and you can get better idea

like image 77
Dileepa Avatar answered Sep 20 '22 03:09

Dileepa