There the source insight track jump functions, a plug mounted in vim ctags track jump function may also be implemented function, similarly, in the sublime text can also achieve the same functionality by installing ctags.
First, the installation package control :( if installed please ignore)
(Reference https://packagecontrol.io/installation#st3)
Second, in the installation sublime text in ctags
1. Download the latest ctags to non-Chinese directory, here, we recommend c: \ windows \ system32, ctags can be downloaded from http://ctags.sourceforge.NET/, last updated in 2009, version 5.8;
Ctags.exe download, unzip to the c: \ windows \ system32 directory;
2, the installation package control install ctags sublime text in the
Shortcut ctrl + shift + p, input pci, enter the command line mounted ctags
3, the configuration ctags path
open ctags the settings-default, all the code and copy and paste it to the setting-user;
and your path ctags more locations;
4, before using the function turned the function, Mr. Cheng .tags file, just in the project file in the project manager right click Ctags: Rebuild Tags can be (note, perhaps regenerate .tags after modification file)
generates the following two files:
after 5, all work well prepared, you can right-click on the name of the function navigate to definition jump to a specific function, and returns with a jump back;
Third, the track jump function settings shortcuts
-
Configuring goal: use Ctrl + mouse button operation to achieve a function of track;
-
In ST3 Open Preferences -> Package Setting -> CTags -> Mouse Bindings-Default, all the code and copy and paste it into the Mouse Bindings-User;
-
Modify the parameters of modifiers, remove the shift, and then save (if there are other habit modifiers can be set to any other keyboard keys, it does not conflict with other hotkey);
herein incorporated by reference from
https://blog.csdn.net/ z1026544682 / article / details / 86088854https://www.jianshu.com/p/543d9e894177