Sublime Text3 Editor Common shortcuts

Source: Internet
Author: User

1. Automatic completion of simple grammarpreferences->setting User
Enter the following code to save.
{"Auto_complete": True, "auto_match_enabled": true}

exit Sublime re-enter.

Seems to be not working, need to wait a while to OK.

2, HTML commonly used to complement the waysuch as: input

Div.wrapper>div.header+div.main+div.footer
Then press the TAB key to instantly turn
<div class= "wrapper" ><div class= "header" ></div><div class= "main" ></div><div class = "Footer" ></div></div>

Explain
> contains child elements. Class name #id名 + sibling element


Support brackets, input as follows:

Html> (Head>title) +body

Then press the TAB key to instantly turn


Comments:
CTRL +/


3, PHP commonly used to fill the wayPHP Tags: php + TAB key
Classes: Class + TAB key
Looping: foreach + TAB key
Line Comment: Ctrl +/
Block notes: Ctrl + SHIFT +/
Code block Comment:/** + TAB key


4, File template loading. Article Detailed address:
http://www.fantxi.com/blog/archives/sublime-template-engine-sublimetmpl/

Https://github.com/kairyou/SublimeTmpl
Unzip the package into a folder in the browse package
Named as: Sublimetmpl
The shortcut keys are as follows:
Ctrl+alt+h html
Ctrl+alt+j JavaScript
Ctrl+alt+c CSS
Ctrl+alt+p PHP
Ctrl+alt+r Ruby
Ctrl+alt++shift+p python




Sublime Text3 Editor Common shortcuts

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.