Sublime Text 3 Common plug-ins and installation methods

Source: Internet
Author: User



Update one, recommend sublime some other plug-ins a common theme: Http://www.cnsecer.com/search/sublime+text3, after the successful configuration change theme and font, with more fun to use more than the force OH


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:


      1. 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)
      2. Paste the following code into the bottom command line and enter:
  1. 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 ())
    1. Restart Sublime Text 3.
    2. If you see the package control item in Perferences->package settings, the installation succeeds.


By the way, put sublime Text2 code.


  1. 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 ). ( Urllib2. Urlopen ( ' http://sublime.wbond.net/' Span class= "pun" >+pf. ", read ()); print ( "please restart Sublime Text to finish installation ' )



To install a plugin using the package control method:
    1. Press Ctrl+shift+p to bring up the command panel
    2. 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 are using a common or open-source framework, such as Normalize.css or modernizr.js, however, after a while, it may be that the open Source Library has been updated, and you have not found that this time may not be suitable for your project, then you will have to re-toss or continue to use the 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.


Summarize


Well, that's probably all, if you have a plugin or extension that you often use, you're welcome to recommend it. Sublime Text 3 is really a love at first sight of the editor, every time with someone to talk to the editor must recommend ...



Sublime Text 3 Common plug-ins and installation methods


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.