Sublime text 3 Install on Mac system and install plugin

Source: Internet
Author: User
Tags sublime text

One,1, Sublime Text Build 3103.dmg Download (official address: HTTPS://WWW.SUBLIMETEXT.COM/3), double-click Install;

Second, enter the registration code. Click the menu Help-ender License paste the following text in the click Use License.

-–begin License-–ryan clarksingle User licenseea7e-8124792158a7de b690a7a3 8ec04710 006a5eeb34e77ca3 9C82C81F 0DB6371B 7 9704e6f93f36655 b031503a 03257CCC 01b20f60d304fa8d b1b4f0af 8a76c7ba 0FA94D5556D46BCE 5237a341 CD837F30 4d60772d349b1179 a996f826 90cdb73c 24d41245fd032c30 ad5e7241 4eaa66ed 167d91fb55896b16 EA125C81 F550AF6B a6820916--end L icense--

Third, install the plug-in package Control

This is the essence of the future use of plug-ins to use this tool to install. Open the Sublime Text 3 that is already installed, and then click View-and Show Console on the top menu (or use the shortcut key Command + '). Copy the following code in the input box below

Import Urllib.request,os; PF = ' package control.sublime-package '; IPP = Sublime.installed_packages_path (); Urllib.request.install_opener (Urllib.request.build_opener (Urllib.request.ProxyHandler ())); Open (Os.path.join (IPP, PF), ' WB '). Write (Urllib.request.urlopen (' http://sublime.wbond.net/' + pf.replace (', '%20 ')) . Read ())

Such as:

Next, check to see if the installation was successful
Next is the plug-in installation

Use the shortcut Command + Shift + P to open the package Control to install the plugin. Enter install in the Open input box, will automatically prompt according to the input status, with the mouse click or keyboard return to select the install package into the search installation interface:

After waiting a few seconds, in the new pop-up input box, enter the name of the plugin you want to install:

Several commonly used plugins:

converttoutf8:[necessary] Through this plugin, you can edit and save the current code is not Sublime Text support files, especially the users of Japan and South Korea use GB2312,GBK,BIG5,EUC-KR,EUC-JP.

emmet:[front-end prerequisites] This does not need to do a long introduction, online search for a lot of relevant use of tutorials. There is also a development of small plug-ins, called "emmet livestyle", need to be used with Google Chrome Browser, specific ways to use the website to see the video demo.

Jsformat:js format plugin, as a necessary artifact for NODEJS development. Use the shortcut command + Option + F or enter "format:javascript" in command + Shift + P to use the formatting commands.

Bracket highlighter: Used to match parentheses, quotes, and HTML tags. Useful for very long code.

Docblockr: You can automatically generate Phpdoc-style annotations. It supports languages such as JavaScript, PHP, ActionScript, Coffeescript, Java, Objective C, C, C + +.

Imesupport: The input box cannot follow the cursor when solving the Chinese input.

Main shortcut keys

Command + Shift + P

Just now, open the package Control command panel and support fuzzy search.

Command + P

Open the file based on the file name. For example, if you want to open ~/sites/index.html, you can simply enter ~/sites/index.html in the input box to support fuzzy matching, such as ~/index.

Command + R

Find the function. For example, enter log, can find all the name with log method, input loginout, you can locate to Loginout (). The "@" symbol that appears automatically in the input box is meant to match the method.

Navigate to Line, Command + G, or COMMAND + p, enter in the box: number of lines, such as: 58, then jump to 58 rows.
After finding the identity, Command + P, #标识.

Command + D

Modify multiple identical codes at the same time. Select the code to be modified first, then Command + D, the same code will be searched downward, repeat, until satisfied. Although the Find/Replace feature can do the same thing, it is more intuitive and controllable.

Command + F

Find a search. This is not a lot of introduction.

Enter to find the next, Shift + ENTER, find Previous.
Command + H, find replacements.
Command + Shift + F, can be called a full-item lookup, that is, in the currently open project, based on the characters entered to find a search.

Sublime text 3 Install on Mac system and install 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.