Home >Development Tools >VSCode >How to quickly view function definitions in VSCode

How to quickly view function definitions in VSCode

angryTom
angryTomOriginal
2020-02-10 10:30:4320572browse

How to quickly view function definitions in VSCode

How to quickly view function definitions in VSCode

1. Jump to the definition location

Visual In Studio Code, you often need to view the code of a certain function and jump to a specific location. There are three specific implementation methods:

1. Position the cursor on the function and press F12

2. Position the cursor on the function, right-click , go to definition

3. Hold down the Ctrl key , and Click on the function

2. Return to the position before the jump

After we understand the function, we need to return to the position before the jump Position, you can press "ctrl shift 8".

Recommended related articles and tutorials: vscode tutorial

The above is the detailed content of How to quickly view function definitions in VSCode. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn