Sublime TEXT2/3 How to configure Ctags plugin in Ubuntu
-
- |
- Browse:1278
- |
- Updated: 2014-03-05 10:34
Step through Reading
This article describes the configuration of the sublime text Ctags plugin in Ubuntu Linux, and implements the development environment for function tracking jumps.
Demo using Ubuntu 12.04 64-bit operating system and sublime Text 3 64-bit version
Ensure that the package control plug-in Manager is installed before you install the configuration ctags
Tools/Materials
Method/Step
Open the sublime Text 2/3 software and open the package control (plug-in manager) in the Preferences (settings) menu
Open the menu and find the Install packages, enter the execution, pull the plug-in list to wait a little
Enter Ctags to install, wait a moment to see the lower left corner of the prompt installation success is good
In the open file, you will have a navigate to Definition menu item in the right-click
Right-click on the project/project file on the left side of the sidebar to see the Ctags:rebuild Tags menu item, but that is not available in gray
If you execute the Navigate to Definition menu item in the right-click menu, the following prompt appears in the lower left corner:
Can ' t find any relevant tags file
This is because we haven't installed ctags yet.
Next we start installing Ctags, which is pretty straightforward, execute the command sudo apt-get install ctags, as
Right-click on the project/project file on the left side of the sidebar to see the Ctags:rebuild Tags menu item is available
Then select a function, right-click to open the Navigate to Definition menu item and execute, of course, here can use shortcut keys.
It's amazing to discover that sublime text has been opened in a new tab. This function defines the file selected and positioned where the function is defined!
Okay, we did it!
Sublime Text Tracking Function plugin