Recommended Sublime Text plug-ins

Source: Internet
Author: User

1) ZenCoding

I have to use a front-end development plug-in, Write less, show more. can be directly used after installation, triggered by the Tab key, Alt + Shift + W is a code machine. For more information, seeArticle Title: install and use the Zencoding plug-in Sublime text 2 in WIN7
Published on:
Author: xuejie
Browsing times: 35
Categories: other aspects of "href =" http://www.yzswyl.cn/blread-1616.html "target =" _ blank "> Sublime text 2 install Zencoding plug-in and use under WIN7

2) Alignment

Code alignment, such as writing several variables, selecting these lines, Ctrl + Alt + A, wow, all. This means that the code is aligned with the code at the bottom. For example:

<?phpfor($i =0;$i<0;$i++){echo $i.'\r\n';}function aa(){echo 'aa';}function cc(){    echo 'cc';}?>

  

Will become:

<?phpfor($i =0;$i<0;$i++){echo $i.'\r\n';}function aa(){echo 'aa';}function cc(){echo 'cc';}?>

  

3) Prefixr

You can add private suffixes such as-webkit automatically when writing CSS, and press Ctrl + Alt + X to trigger them.

4) Tag

Html Format, right-click Auto-Format Tags on Ducument.

5) Clipboard History

Clipboard history, show more historical copies, Ctrl + Shift + V triggered.

6) SideBarEnhancements

The function of right-click the sidebar is enhanced, which is very practical.

7) Theme-Soda

The perfect encoding topic, once used, said "theme": "Soda Dark. sublime-theme" added to the Setting user"

8) GBK to UTF8

Convert the File encoding from GBK to UTF8, and find the File in the menu-File.

9) SFTP

Directly edit the files on the FTP or SFTP server.

10) WordPress

Integrating some WordPress functions is especially useful for people like me who often need to write WP templates and plug-ins.

11) PHPTidy

Organize PHP code

12) YUI Compressor

Compressing JS and CSS files

13) JS Format

A js Code formatting plug-in.

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

15) Placeholders

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

16) DetectSyntax

This is a code detection plug-in.

17) Nettuts Fetch

If you are using a public open source framework, 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.

18) JsMinifier

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

19) Sublime CodeIntel

Code prompt

20) Bracket Highlighter

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

These symbols are paired with braces {}, braces [], Parentheses (), and quotation marks. When we move the cursor over the start symbol, we hope to clearly see where the end symbol is. The sublime is underlined by default, which is not obvious. To be clear, we can install the plug-in BracketHighlighter.

21) Hex to HSL

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

22) Git

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

23) sublimelint and Phpcs syntax error messages.

If a syntax error occurs during code writing, we can immediately prompt you to install these two plug-ins: sublimelint and Phpcs. sublimeint requires the system to have php commands. Therefore, you need to set the php environment variables. The sublimelint syntax error prompt is displayed on the status bar. Therefore, when writing a program, always check the status bar. The syntax error message of Phpcs is that an error is displayed on the universal panel when the file is saved. The error message of sublimelint is real-time but not obvious. The error message of Phpcs is not real-time, but it is obvious. Therefore, we usually need to install these two plug-ins.

24) function name display.

This plug-in shows the function in which the current cursor is located in the status bar.

25) additional PHP snippet and DocBlockr

Code annotation formatting.

The additional PHP snippet plug-in can prompt the code in phpdocument format and quickly output the Open Source protocol. If you enter php, a prompt will be displayed. Install the DocBlockr plug-in to form a comment block. Do not press a slash or Asterisk for each comment.

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.