Sublime Text Usage Introduction

Source: Internet
Author: User

Sublime Text Usage Introduction



If notepad++ is a good code artifact, then sublime text should be called the artifact drop elder brother. Sublime Text
The biggest advantage is that the cross-platform, Mac and Windows are perfect to use, followed by powerful plug-in support, almost omnipotent.


Start using sublime Text:

Sublime text has a dev version, recommended,, generally recommended to download the portable version (portable version), which
It's easy to get it, and it doesn't have to be installed, and the plug-in and the subject are in a directory, portable.


Sublime Text shortcut key:

Ctrl+shift+p: Open Command Panel
Ctrl+p: Searching for files in a 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: Pasting and formatting
Ctrl+d: Select words, repeat to add the next same word
Ctrl+l: Select rows, repeat to select the next row in turn
Ctrl+shift+l: Select multiple lines
Ctrl+shift+enter: Inserting a new row before the current line
Ctrl+x: Delete When moving forward
Ctrl+m: jump to corresponding parentheses
Ctrl+u: Soft undo, undo cursor Position
CTRL+J: Select label content
Ctrl+f: Find Content
Ctrl+shift+f: Find and replace
Ctrl+h: Replace
Ctrl+r: Go to Method
CTRL + N: New window
CTRL+K+B: Switch Side bar
Ctrl+shift+m: Check the contents of the current parenthesis, repeating the parentheses themselves
CTRL+F2: Set/Remove Tags
ctrl+/: Comment When moving forward
ctrl+shift+/: Insert comment at current position
ctrl+alt+/: Block comment, and focus to the first line, write the comment description with the
Ctrl+shift+a: Before and after selecting the current label, modify the label with
F11: Fullscreen
SHIFT+F11: fullscreen-free mode, editing only the current file
ALT+F3: Select all the same words
ALT +.: Closed Label
alt+shift+ Number: Split screen display
ALT + Number: Toggle to open nth file
shift+ Right-drag: Many cursors are not used to change or insert column contents
Mouse forward and backward key to toggle tab file
Press CTRL, tap or select, to edit multiple locations
Press ctrl+shift+ up/down key to replace row


Sublime Text Settings:

Setting User
Here's what I'm using.
"Font_face": "Courier New",
"Font_size": 9.0,
"Highlight_line": true,
"Scroll_past_end": false,
"Tab_size": 4,
"Theme": "Soda dark.sublime-theme",
"Word_wrap": True
}


Sublime Text Plugin:

It is recommended that you first enable the package Control, which is convenient when installing the plugin, enabling the method: Menu bar –view–show Console,
Paste in the following code and enter, then restart Sublime. If your network cannot be enabled, you cannot use it, search for downloads manually.
(say your nets are blocked too?) )。

Import urllib2,os;pf= ' Package
Control.sublime-package '; Ipp=sublime.installed_packages_path (); Os.makedirs (IPP) if not
Os.path.exists (IPP) Else
None;open (Os.path.join (IPP,PF), ' WB '). Write (Urllib2.urlopen (' http://sublime.wbond.net/' +pf.replace (', '%20′ ')
. Read ())

Start installing some very useful plugins, ctrl+shift+p (menu –tools–command paletter), enter install
Check the install package and enter, type or select the plug-in you need to be installed (note the small text changes in the lower left corner will prompt
Install the other plugins is also this method, very fast.

Zencoding
Have to use a front-end development aspects of the plugin, Write less, show more. Can be used directly after installation, TAB trigger,
Alt+shift+w is a code machine.

Alignment
Code alignment, such as writing a few variables, check these lines, Ctrl+alt+a, wow, qi.

Prefixr
Write CSS can automatically add-webkit and other private affixes, ctrl+alt+x trigger.

Tag
HTML formatting, right-click Auto-format Tags on Ducument.

Clipboard history
Clipboard history, show more historical copy, Ctrl+shift+v trigger.

Sidebarenhancements
Sidebar Right-click function enhancement, very practical

Theme–soda
The perfect coding theme, used all said, Setting user inside Add "theme": "Soda dark.sublime-theme"

GBK to UTF8
The file encoding from GBK to Huang UTF8, menu –file inside to find

SFTP
Directly edit files on FTP or SFTP server, absolute FTP cloud

Wordpress
Integrating some WordPress functions, especially useful for people like me who often write WP templates and plugins

Phptidy
Organize and compose PHP code
YUI Compressor
Compressing JS and CSS files
Http://win8.xapcn.com/news/sublime_text_1203.html
Surface|win8 Download: http://win8.xapcn.com/
Win8 Software: http://win8.xapcn.com/software/
Win8 Games: http://win8.xapcn.com/games/
Win8 Jailbreak: http://win8.xapcn.com/tutorial/
Surface|win8 Software game Love app hd:http://www.xapcn.com/aiyingyong/

Sublime Text Usage Introduction

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.