Sublime Text 3 absolute artifact

Source: Internet
Author: User

 

1. Install Sublime Text 3

Package Control Installation

  Installation Guide

 

2. Plug-in Installation

I thought it was a required plug-in

Plug-ins supporting UTF-8 Encoding

Used to match parentheses, quotation marks, and html tags. It is useful for long codes. After the plug-in is installed, the plug-in will take effect automatically without any configuration.

DocBlockr can automatically generate PHPDoc-style comments. The Supported languages include Javascript, PHP, ActionScript, CoffeeScript, Java, Objective C, C, and C ++.

Quickly generate HTML code snippet plug-ins, powerful to unparalleled, do not know, please google

This plug-in improves the sidebar and adds many features.

Topic management. You do not need to modify the configuration file when switching a topic. You can use this to easily switch the topic.

3. General shortcuts


After Ctrl + R, an @ will automatically exist in the input box, which is the meaning of the matching method. In addition, there are some useful matching symbols.

, Ctrl + G, or Ctrl + P, enter the number of rows in the box, for example, 58, to jump to the 58 rows.

, Ctrl + P, # ID.

4. After learning the above quick operations, you can basically switch to ST. If you can use ST to write PHP, it is no problem. You can cut and cut all files to quickly jump to the method, it's so nice. But I want to use something better and smoother. I also want to see the following:

, This function is commonly used and very good.

When you want to modify multiple identical codes at the same time, for example

$ User ['name'] = 'banaplan ';

$ User ['age'] = 28;

$ User ['desc'] = 'your younger brother is 28' forever ';

You can double-click the selected user and press Ctrl + D to re-connect to the selected user and repeat it until you are satisfied. Then you can edit the user in a unified manner.

---->

Some people have said, cut, what is this? You can use search to replace it. Yes, you can use search to replace it. However, this method is more intuitive and error-free. The so-called, hero sees, each has a different, please refer to the official self-Attention.

In fact, in addition to using the Ctrl + D shortcut, you can also use the mouse to achieve the connection. Press Ctrl and double-click to select multiple instances.

In fact, in addition to synchronous editing in the above two methods, there is also a way. That is, Shift, right-click, and vertical drop-down. This method is restricted, that is, it can only be selected vertically. It is applicable to scenarios with a long code segment, as shown below:

    

  

Look up, the options on the left will not be much said, read the prompt, English, you are not good at English, it seems that the college entrance examination now seems to gradually weaken the weight of English. Note: At the bottom, you will be prompted for the 2 of 5 matches, and a total of 5 matches are found. You are now matching the second one. I think this tips are useful.

Search for the next one and find the previous one.

To find and replace.

Ctrl + Shift + FThis should be bold and red, and point to it to live. You can call full project search to find the project based on the characters you entered.

----------

 

, Please note that this function is only valid in ST3

 

OrYou are welcome to submit and share your documents.

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.