Sublime-txt is a free-of-Installation Software. Go to the official website and find the corresponding system version to download and decompress the sublime-TXT file in the compressed file.
1. Open and runSublime-txt
2. FirstInstall package install
Installation Method:
CTRL + ~
Enter the following content in the window and press Enter:
Import urllib2, OS; pF = 'package control. sublime-package '; IPP = sublime. installed_packages_path (); OS. makedirs (IPP) if not OS. path. exists (IPP) else none; urllib2.install _ opener (urllib2.build _ opener (urllib2.proxyhandler (); open (OS. path. join (iPP, PF), 'wb '). write (urllib2.urlopen ('HTTP: // sublime.wbond.net/'{pf.replace ('', '% 20 ')). read (); print 'Please restart sublime text to finish installation'
Restart the editor after the prompt is complete.
Then pressCrtl + Shift + PCall the Package Manager,Install other plug-in packages you need:
(Crtl + Shift + P and then enter packe in the upper pane... the installpack will be automatically found ...... Press enter to wait for the installation to complete)
Script syntax supported
Crtl + shif + PInputSet Syntax:The names of the languages you want (for exampleSet Syntax: PHP, set Syntax: c)
Set encoding:
On the top menu bar, find preferences-> Settings-user and add the following black parts to the opened file:"Default_encoding": "UTF-8" Save and restart,Remember that the comma at the end cannot be in a disordered order.
{
"Color_scheme": "packages/color scheme-default/solarized (dark). tmtheme ",
"Default_encoding": "UTF-8 ",
"Ignored_packages ":
[
"Vintage"
]
}