Sublime Text 3 common plug-ins and installation methods), sublimetext

Source: Internet
Author: User

Sublime Text 3 common plug-ins and installation methods (convert), sublimetext
How to install the Sublime Text 3 plug-in:

Dear friends, it is not easy for a small station to live. It depends on advertising fees. If this article is helpful to you. Please click the advertisement on the next page. Thank you!

Direct Installation

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 ).

Install the Package Control Component

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

1 import urllib.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.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())

By the way, paste the Sublime Text2 code

1 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')

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:

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:

GBK Encoding Support

For gb2312, Sublime Text 2 is not supported. We can use Ctrl + Shift + P to call up the command panel or Perferences-> Package Contro, enter install to call up the Install Package option, and press Enter, enter "GBK Encoding Support" and select "Start installation". The installation is successful in the status bar in the lower left corner. When you open the gbk encoded File, there will be no garbled characters. If you need to convert it to UTF-8, you can choose File-GBK to UTF8-Save with UTF8.

Zen Coding

I don't want to explain this. If I still don't know about ZenCoding, I strongly recommend that you take a look at "Zen Coding: A quick way to compile HTML/CSS code".

Emmet

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

Sublime Prefixr

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)

SublimeLinter

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.

JsMinifier

Based on Google Closure compiler, this plug-in automatically compresses js files.

Sublime CodeIntel

Code prompt

Bracket Highlighter

Similar to code matching, it can match the brackets, quotation marks, and other symbols.

Hex to HSL

The color value is automatically converted from hexadecimal to HSL. The shortcut key is Ctrl + Shift + U.

GBK to UTF8

Convert the file encoding from GBK to UTF8. The shortcut key is Ctrl + Shift + C.

Git

This plug-in basically implements all the functions of git.

I have always used sublime to enjoy ultra-fast startup, rich plug-ins, and brilliant themes. We recommend that you:

If the package is enough, do not install too much; otherwise, some launch problems may occur, resulting in unavailability of all plug-ins;

Summary

Well, that's probably the case. If you have common plug-ins or extensions, we recommend them. Sublime Text 3 is really a love-at-first-sight editor. It is recommended every time you talk to someone else about the editor...

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.