Direct Installation
Installing the sublime Text 3 plugin is convenient and can be downloaded directly from the installation package to the Packages directory (menu->preferences->packages).
installing using the Package control component
You can also install the Package control component and install it directly online:
- Press CTRL + ' bring up the console (note: There is a conflict between the keyboard shortcuts installed QQ Input Method , Input Method property settings-Input Method management-Cancel Hotkey switch to QQ pinyin)
- Paste the following code into the bottom command line and enter:
- ImportUrllib.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.. Joinipp, Pf ). (urllib. Request. Urlopen ( ' http://sublime.wbond.net/' Span class= "pun" >+ Pf. ", '%20 ' read ())
- Restart Sublime Text 3.
- If you see the package control item in Perferences->package settings, the installation succeeds.
By the way, put sublime Text2 code.
- ImportUrllib2,Os;Pf=' Package Control.sublime-package ';Ipp=Sublime.Installed_packages_path();Os.Makedirs(Ipp) If NotOs.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( ' restart Sublime Text to finish installation ')
To install a plugin using the package control method:
- Press Ctrl+shift+p to bring up the command panel
- Enter install to bring up the Install Package option and enter, then select the plug-in you want to install in the list.
The uncomfortable is that some network environment may not allow access to unfamiliar network environment to set up a firewall, and sublime Text 2 seemingly unable to set up the proxy, may not get the list of installation packages. Ok, the method is finished, here is the topic, some useful sublime Text 2 plugin:
GBK Encoding Support
For gb2312, Sublime Text 2 is not supported, we can bring up the command panel or Perferences->package contro via ctrl+shift+p, enter install to call the install package option and enter in the "GBK Encoding support" option to start the installation, the lower left corner of the status bar has prompted the installation to succeed. At this time to open GBK encoded files will not appear garbled, if you need to turn into utf-8 can be FILE-GBK to utf8-choose Save with UTF8 I see.
Zen Coding
This, do not explain, still do not know Zencoding's classmates strongly recommend to look at: "Zen Coding: A quick way to write html/css code."
Emmet
The developer of the Ps:zen Coding for Sublime Text 2 plugin has stopped sharing on GitHub and is now only installed through the package control.
JQuery Package for Sublime Text
If you can't live without jquery, this is a must.
Sublime PREFIXR
PREFIXR,CSS3 Private Prefix auto-complete plug-ins, obviously also very useful wow
Sublime PREFIXR
JS Format
A JS code format plugin.
Sublimelinter
A plugin that supports lint syntax can highlight lines of code that Linter think is wrong, and also support highlighting special notes such as "TODO," which can be quickly positioned. (IntelliJ idea's Todo function is very good, this plug-in, although not comparable, but also enough for it)
Sublimelinter
Placeholders
Therefore, the name of the idea, occupy, including some placeholder text and HTML code snippets, practical.
Sublime Alignment
Used for automatic alignment of code formats. Legend has it that the latest version of Sublime has been integrated.
Clipboard history
Pasteboard history for easy use of copy/ cut content.
Detectsyntax
This is a code detection plugin.
Nettuts Fetch
If you're using a common or open source framework, such as NORMALIZE.CSS or modernizr.js, but after a while, maybe the open source Library has been updated, and you didn't find that it might not be the right time for your project, Then you'll have to toss it again or continue to use stale files. Nettuts fetch lets you set up a list of files that need to be synced, and then save the updates.
Jsminifier
The plugin automatically compresses JS files based on Google Closure compiler.
Sublime Codeintel
Code Automatic Hints
Bracket highlighter
Similar to code matching, you can match the range within parentheses, quotation marks, and so on.
Hex to HSL
Auto-Convert color values from 16 to HSL format, shortcut key Ctrl+shift+u
GBK to UTF8
Convert file encoding from GBK to Huang UTF8, shortcut key Ctrl+shift+c
Git
The plugin basically implements all the functions of git.
Reprint Please specify: Safe person»sublime Text 3 common plug-in and installation method
How to install the sublime Text 3 plugin