There are a lot of text compilers to use when programming, and today we are going to introduce you to the text compiler sublime text that you can run on Windows and Mac.
Through the installation of Plug-ins can also be sublime Text.
Sublime Text official website: www.sublimetext.com
Sbulime text Features
First, introduce the characteristics of sublime text.
- There is a Windows version and a Mac version, the copyright only need to purchase once. And the configuration file synchronization to OneDrive, in any environment can be used.
- Rich Plug-ins.
- It's very brisk to use and has almost perfect functionality.
Download and install sublime Text
Describes how to install sublime text in Windows.
After accessing the Sublimetext download address, select the downloaded file according to your system.
2. Double-click the downloaded installation file
Basically according to the hint step-by-step click on the installation can be completed, in the following step check "add to the Explorer context menu".
Starting sublime Text from the list of programs, the installation was successful.
Install Packagecontroll
After installing sublime text, first install Packagecontroll. After installing Packagecontroll, you can add a variety of features to sublime text by adding plug-ins.
Sublime Text3 Packagecontroll
Https://packagecontrol.io/installation
Copy the code after you visit the website above.
Open the console in sublime text and paste the copied code into the console.
The following screen appears OK.
After restarting sublime text, click "preferences" to confirm to the displayed "package control".
Installing Plug-ins
It also mentioned that you can add a variety of features to sublime text through Plug-ins, here are some common plug-ins and installation methods.
- Sublimelineter: Confirmation Error
- HTML5:HTML5 Benefit function
- Brackethighlighter: Emphasis start and end tags
- Sublimelinter-html-tidy: Prompt HTML5 syntax error
- Sublimelinter-jshint: hints JavaScript syntax error
- Sublimelinter-json: Hint JSON syntax error
- Sublimelinter-phplint: Hints PHP syntax error
- Sublimecodeintel: Rows that can jump to functions and define variables
- Abacus: neat arrangement = and;
- Phoenix Theme: Customizable Sublime text appearance
Take Abacus as an example to introduce the method of installing the sublime text plug-in.
1. Preferences-> Package Control
2. Enter "Install Package"
3. After a little wait, enter "Abacus"
In fact, do not need all the input will be based on the input of the keyword display can be installed Plug-ins, here click on "Abacus", restart the sublime text to complete the installation of Plug-ins.
Chinese Sublime Text
Just install the Chinese plug-in on it, in the installation of the plug-in page "Chinese" after clicking on the display of "chineselocalization" on it.