How can I download and install the Sublime Text 2 plug-in? Some essential Sublime Text 2 plug-ins

Source: Internet
Author: User

Sublime Text 2 is a lightweight, concise, efficient, cross-platform editor. Its convenient color and compatibility with vim shortcuts have won the favor of many front-end developers, including me, I have been using it since I saw Xiao Fei's introduction. This article recommends some useful plug-ins and extensions.

Sublime Text 2 is basically a shared software. The free version is basically the same as the paid version. It only occasionally prompts you to buy it, which basically does not affect usage.

Ubuntu 12.10 install and crack Sublime Text 2

Install Sublime Text 2 on Ubuntu 13.04

How to install the Sublime Text 2 plug-in: 1. Directly install

It is very convenient to install the Sublime text 2 plug-in. You can directly download the installation package and decompress it to the Packages directory (menu-> preferences-> packages ).

2. Install the Package Control Component

You can also install the package control component and install it online:

  1. Press Ctrl + 'to bring up the console
  2. Paste the following code to the bottom of the command line 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;open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())
  3. Restart Sublime Text 2.
  4. If you see package control in Perferences-> package settings, the installation is successful.

If this method cannot be installed successfully, you can download the file here for manual installation.

How to install the plug-in using Package Control:
  1. Press Ctrl + Shift + P to bring up the Command Panel
  2. Enter install to bring up the Install Package option and press Enter. Then, select the plug-in to be installed in the list.

Unfortunately, some network environments may not allow access to a strange network environment to set up a firewall, while Sublime Text 2 does not seem to be able to set a proxy, and may not be able to get the list of installation packages.
Well, the method has been introduced. The following is the topic of this article, some useful Sublime Text 2 plug-ins:

Zen Coding

This is not explained.


PS: the developer of the Zen Coding for Sublime Text 2 plug-in has stopped sharing on Github. Currently, only Package Control is used for installation.

JQuery Package for sublime Text

If you cannot leave jQuery, this must be done ~~

Sublime Prefixr

Prefixr, CSS3 private prefix auto-completion plug-in, obviously also very useful wow

JS Format

A js Code formatting plug-in.

SublimeLinter

A plug-in that supports the lint syntax can highlight lines of code that linter thinks are incorrect, and also supports highlighting some special annotations, such as "TODO", so that you can be quickly located. (IntelliJ IDEA's TODO function is awesome. Although this plug-in is not comparable, It is enough)

Placeholders

Therefore, it is practical to use placeholder text and HTML code snippets.

Sublime Alignment

It is used for automatic alignment of code format. It is said that the latest version of Sublime has been integrated.

Clipboard History

Clipboard history to facilitate the use of copied/cut content.

DetectSyntax

This is a code detection plug-in.

Nettuts Fetch

If you are using some public or open-source frameworks, such as Normalize.css or modernizr. js. However, after a while, the open-source library may have been updated, but you have not found that it may not be suitable for your project at this time, then you have to try again or continue using old files. Nettuts Fetch allows you to set a list of files to be synchronized and save the updates.

  • 1
  • 2
  • Next Page

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.