Home  >  Article  >  Development Tools  >  How to install the sublime function tracking plug-in on Mac

How to install the sublime function tracking plug-in on Mac

藏色散人
藏色散人forward
2019-11-16 14:38:453419browse

The following tutorial column from sublime text will introduce to you how to install the sublime function tracking plug-in on Mac. I hope it will be helpful to friends who need it!

How to install the sublime function tracking plug-in on Mac

1. First install the ctags plug-in in sublime, then right-click on the project/project file in the left column and you will see the CTags: Rebuild Tags menu item

2 .Download ctags-5.8.tar.gz from sourceforge, unzip and compile (the ones used for windows and mac are different, so don’t make the mistake)

In Windows

http://prdownloads.sourceforge.net/ctags/ctags58.zip

In Mac OSX

http://prdownloads.sourceforge.net/ctags/ctags-5.8.tar.gz

Extract and compile, execute the following command:

tar xzvf ctags-5.8.tar.gz
cd ctags-5.8
./configure
make
sudo make install

3. Open the menu bar->Sublime Text->Preferences->Package Settings->CTags->Settings-Default/Settings-User Two files

Select all the contents in Settings-Default and copy them to the Settings-User file, and set the value of Command to:/usr/local/bin/ctags:

Open Preferences -> Package Setting -> CTags -> Mouse Bindings-Default, copy all the code, and then paste it into Mouse Bindings-User;

Modify the parameters of modifiers, remove shift, and then save ( If you have other habits, you can set the modifiers parameter to other keyboard keys, as long as they do not conflict with other hotkeys).

The above is the detailed content of How to install the sublime function tracking plug-in on Mac. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete