Sublime Text 3 Configuration Ctags Plugin

Source: Internet
Author: User
Tags sublime text

Recently in the source of the time to see the sublime Text 3 is a very powerful software, small and delicate, here to focus on the Ctags help compile and trace functions

First, if there is no package control directory under the Preferences > Browse Packages menu, we can install it manually by following these steps:

1. Click Preferences > Browse Packages Menu

2. Go to the upper-level directory of the Open directory before entering the installed packages/directory


Figure 2

3. Download the package control.sublime-package and copy it to the installed packages/directory

4. Restart Sublime Text

Second, the next step is to install the Ctags plug-in steps:

1.Clickpreferences > package Control menu, you can see that figure 3 appears, select package control:i nstall package, and enter, you can see Figure 4 appears, if pop-up without the packet dialog box, you can repeat Select the package Control:install the package and enter it, and you'll see it a few more times.


Figure 3

Figure 4

2. Enter Ctags in the Long box above, select the first one, enter the installation, wait a moment to see the bottom left corner of the prompt installation success is good.

3. Download the ctags executable, the path is Http://prdownloads.sourceforge.net/ctags/ctags58.zip, extract to a directory, Note If the plain ASCII character directory is not a directory with spaces or Chinese names.

4. Open the menu in the Preferences menu to open the package Settings->ctags->settings-user and Settings-default

Copy the configuration in default to user, then change the command configuration item to the Ctags executable path, 5:

Figure 5

Before modification, "command": "", Modified to "command": "C:/users/lijing/downloads/ctags58/ctags.exe".

5. Click find > ctgas menu. 6:

Figure 6

Once executed, you can jump to the function by selecting a function and then right-clicking on the Navigate to Definition menu item and executing it.



Sublime Text 3 Configuration Ctags Plugin

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.