Sublime Text Introduction, usage, plugins, etc.

Source: Internet
Author: User

Package Control Installation Method

First use the shortcut key CTRL + ' or see if the shortcut key is occupied, such as the use of more shortcut keys, about 248 lines

Sublime Text 2 Installation code:

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 (' Restart Sublime Text to finish installation ')

Sublime Text 3 Installation code:

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

Common Extension Recommendations

Emmet--emmet officially provided by the Sublime Text extension;//That is, zencoding, write HTML first install this one is enough

Sublimelinter

--code Check plugin, support HTML, CSS, JS, PHP, Java, C + + and other 16 languages;

HTML5

--HTML5 bundle for Sublime Text 2;

alignment--Code alignment plug-in;

brackethighlighter--brackets Highlight match;

git--plug-ins that integrate GIT functionality;

Jquery

--code smart hint plugin;

less--less code highlighting plugin;

Jsformat--javascript Code format plugin;

Tag--html/xml label indentation, completion and calibration;

livereload--let the page refresh instantly;

Pretty json--json beautification extension;

Can I use--Query the compatibility of CSS properties;

Coffeescript--coffeescript code highlighting, verification and compilation, etc.;

colorpicker--cross-platform Color picker plug-in;

Sublime Text Plugin Installation:

Ctrl+shift+p (menu –tools–command paletter), enter install Select Install package and enter, input or select the plug-in you need to install (note the small text changes in the lower left corner, will prompt installation success), Installing other plugins is also this way, very fast.

Sublime Text shortcut key:

Ctrl+shift+p: Open Command Panel ctrl+p: Search for files in Project Ctrl+g: Jump to the first few lines ctrl+w: Close the currently open file Ctrl+shift+w: Close all open files Ctrl+shift+v: Paste and Format Ctrl + D: Select the word, repeat to increase the selection of the next same word ctrl+l: Select row, repeat to select the next line ctrl+shift+l: Select multiple lines ctrl+shift+enter: Insert a new row before the current row ctrl+x: Delete the current row Ctrl + M: Jump to corresponding bracket ctrl+u: Soft undo, Undo Cursor Position ctrl+j: Select Label contents ctrl+f: Find content ctrl+shift+f: Find and replace ctrl+h: replace ctrl+r: Go to methodctrl+n: New Window ctrl+k+ B: Switch sidebar ctrl+shift+m: Check the contents of the current parenthesis, repeating the parenthesis itself CTRL+F2: set/delete tag ctrl+/: Comment Current line ctrl+shift+/: Insert Comment ctrl+alt+/: block comment, and focus to the first line, Write the note ctrl+shift+a: Select the current label before and after, modify the label with the F11: Full screen shift+f11: fullscreen mode, only edit the current file alt+f3: Select all the same words ALT +.: Closed label alt+shift+ Number: Split screen display ALT + number: Toggle Open nth File shift+ right-drag: cursor more than, used to change or insert column Contents mouse forward back key Toggle tab File Press CTRL, click or select, you can edit multiple locations by pressing ctrl+shift+ up and down, replaceable rows

Sublime Text Introduction, usage, plugins, etc.

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.