Sublime Text 3 Usage Summary

Source: Internet
Author: User


I. Windows environment 1. Install Download http://www.sublimetext.com/


The installation method is relatively simple and does not introduce.


2 registration Code (3083)

-–begin license-–
Andrew Weber
Single User License
ea7e-855605
813A03DD 5e4ad9e6 6c0eeb94 bc99798f
942194A6 02396E98 e62c9979 4bb979fe
91424c9d A45400BF f6747d88 2fb88078
90f5cc94 1CDC92DC 8457107A f151657b
1d22e383 a997f016 42397640 33F41CFC
E1d0ae85 a0bbd039 0e9c8d55 e1b89d5d
5cdb7036 e56de1c0 EFCC0840 650cd3a6
b98fc99c 8fac73ee d2b95564 DF450523
--end license--


Registration method: Help–>enter .... All paste up on the registration success. This registration code only supports version 3083, the other version of Baidu itself.


3. Chinese


Click "Preferences" –> "Browse Packages" on the menu bar to go to the Packages folder under the sublime text installation directory, copy and overwrite the Chinese package of the sublime text (for security purposes, It is recommended to back up the original default.sublime-package file) Restart Sublime text of the section of the menu bar has become Chinese.
Chinese Package Download: Portal


4. Plug-in installation


Installing using the Package control component
You can also install the package control component and install it directly online:
Press CTRL + ' bring up the console (note: There is a conflict between the keyboard shortcuts installed QQ Input method, Input Method property settings-Input Method management-Cancel Hotkey switch to QQ pinyin)
Paste the following code into the bottom command line and enter:


import‘Package Control.sublime-package‘‘wb‘‘http://sublime.wbond.net/‘ + pf.replace(‘ ‘,‘%20‘)).read())

 


Restart Sublime Text 3.
If you see the package control item in Perferences->package settings, the installation succeeds.
To install a plugin using the package control method:
Press Ctrl+shift+p to bring up the command panel
Enter install to bring up the Install Package option and enter, then select the plug-in you want to install in the list.
Common plug-ins summary:


    • ConvertToUTF8 Support for Chinese
    • GBK to UTF8 file encoding from GBK to Huang UTF8, shortcut key Ctrl+shift+c
    • Git can virtually line up all of Git's features
    • Bracket highlighter similar to code matching, you can match parentheses, quotes and other symbols within the range.
    • Clipboard history pasteboard for easy use of copy/cut content.
5. Common Configuration


Menu bar Open Preferences->settings-default, paste the following code, save. Restart Sublime Text 3 is configured to take effect.


{
"Line Ou numbers": true, / / show line numbers or not
"Gutter": true, / / show side columns or not
"Draw_centered": false, / / center display or not
//"Wrap [width]: 170, / / line feed width (unit: character)
"Word? Wrap": true, / / Auto wrap or not
"Scroll" past "end: true, / / can scroll past the end
"Font" face ":" Consolas YaHei ", / / font
"Font_size": 11, / / font size
"Line / padding / top": 1, / / line height
"line_padding_bottom": 1,
"Tab_size": 2, / / tab indent width
"Translate tab to spaces": false, / / automatically convert tab to spaces
"Update uucheck": false, / / disable automatic update
"Theme": "soda dark 3. Sublime theme" / / skin
} 
6. Add Right-click shortcut menu


(1) cmd command run: regedit, open the registry.
(2) Locate Hkey_classess_root->*->shell, and create the new entry below, named Edit with Sublime Text3.
(3) Under the item "Edit with Sublime text", create a new string value named icon with the value "C:\Program files\sublime text Build 3065\sublime_text.exe,0", where the black address is Sublime text program file address.

(4) Under the item "Edit with Sublime text", under the new command, the default value under this command is modified to "C:\Program files\sublime text Build 3065\sublime_text.exe,1 ”。
(5) After the setup is complete, you can display edit with Sublime Text3 in the right-click menu without restarting the computer.


Two. Linux environment 1. Installation method


Install, open terminal, enter the following command:
sudo add-apt-repository ppa:webupd8team/sublime-text-3



sudo apt-get update



sudo apt-get install Sublime-text-installer



Uninstall the sublime text command:
sudo apt-get remove Sublime-text-installer



The use method is basically used in Windows environments.


Brief introduction:


Sublime text is a Python-based cross-platform text editor, a lightweight, concise, efficient, cross-platform editor. Sublime Text is proprietary software that can be augmented by a suite of functions. Most kits are released using free software licensing and are built and maintained by the community.



The Sublime Text can be installed in the package control console to amplify functionality. The Suite console provides a convenient interface for users to search, install, upgrade, and uninstall packages. The suite console can download, install, and update kits from sites such as GitHub, Bitbbucket, and more.


Featured Features of Sublime Text:
    • A good extension function, officially known as the installation package.
    • There is no scroll bar on the right, instead of a code thumbnail, this is a great feature
    • Powerful shortcut command "can search in real-time corresponding commands, options, snippet and Syntex, press ENTER can be directly executed, reducing the trouble of finding." ”
    • Instant file switching.
    • Jump to any location of any file at your whim.
    • The multiple selection (multi-selection) feature allows multiple cursors to be present in the page.
    • Supports VIM mode
    • Support macros, simply by recording the operation or writing your own commands, and then playing the action or command you just recorded.
    • Updated very diligent


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.



Sublime Text 3 Usage Summary


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.