Sublime jumps to the function definition, using the Ctags plugin.
installation steps:
1. Open Sublime Text 3, press ctrl + shift + P at the same time, enter Package Control in the opened input box: Install Package
2. Enter Ctags, press Enter to install
3. After installing the Ctags plugin, you need to download the Ctags executable program, download address : https://pan.baidu.com/s/1cubMQn_i5jL9kScrHSNVXg
4. After the download is complete, unzip, set the unzip path to the environment variable, because sublime needs to call ctags.exe
5. Restart sublime, right-click the project folder, and select Ctags :Rebuild Tags, create and generate a search index file, the progress percentage will be displayed at the bottom right of sublime
6. After the creation is complete, you can select the function right-click -> Navigate to Definition to jump to the function definition, or press F12
Set the jump shortcut method:
main menu bar -> Preferences -> Package Settings -> CTags -> Key Bindings-User, the configuration file of user-defined shortcut keys will be opened, and the following code will be added:
[
{
"command": "navigate_to_definition ",
"keys": ["ctrl+shift+left_click"]
},
{
"command": "jump_back",
"keys": ["ctrl+q"]
},
]