Sublime Text 3 Learning Summary (i)

Source: Internet
Author: User

1, Characteristics: Automatically save the edited text, automatically identify the file type, directly open the picture

2, Common shortcut key summary:

Open a new file: Ctrl + N

Copy a row: Ctrl+shift+d edit->line->duplicate Line

Delete a row: Ctrl+shift+k Edit->line->delete Line

Comment Code: ctrl+/edit->coment->toggle coment

Insert new row in front: Ctrl+shift+enter Edit->text->insert line before

Insert a new line at the back: Ctrl + Enter Edit->text->insert lines after

Select a row: Ctrl+l Selection->expand Selection to Line

Select a word: ctrl+d selection->expand Selection to Word

Search: Ctrl+f find->find

Quick jump: ctrl+p goto->goto anything

Open command line: ctrl+shift+p Tools->command Palette

Find and Replace: ctrl+h

Insert a closed label ALT +.

Select all the same elements: ALT+F3

Quick Generate Tags: script + ctrl+e

Paste to keep indent: ctrl+shift+v

3, Goto anything application

(1) Quickly find selector input @ symbol in CSS file

(2) Quickly find function input @ symbol in JS file

(3) matching input to the page #

Question: How to quickly find a file

4. Open the command line: Ctrl+shift+p application

(1) Change the file type:

Input CSS, change the current file to CSS type

Input JS, change the current file to JS type

5, multi-row cursors

(1) Select a word->ctrl+d

Note:

Skip a word: ctrl+k ctrl+d

Select All: Alt+f3

(2) Press shift+ right mouse button click

Note: Press ESC to exit the multi-line cursor

6. Using Emmet plug-in

(1)! + ctrl+e Create a HTML5 standard document

(2) Ctrl+e

$ represents the sequence number > represents the generation of child elements. TEM represents a class of child elements

Note:

Increase Indent

Reduce indentation

CTRL + {key

Sublime Text 3 Learning Summary (i)

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.