Sublime Text 3 Editor installation

Source: Internet
Author: User



First, to Sublime Text 3 official website Download latest Version: HTTP://WWW.SUBLIMETEXT.COM/3



You can complete the installation by going to next. After installing sublime Text 3, on the installation path: \sublime Text 3\packages installs some of the accompanying installation packages by default.



Two, need to install a sublime Text installation package management tool-



The package Control makes it easy to install, upgrade, and uninstall. To https://packagecontrol.io/installation you can see how the installation works in Sublime Text 3:


  • < Span class= "Apple-converted-space" > recall python console (via shortcut ctrl + ' or menu-> view-> Show Console)
  • paste the following code and enter; 
  • ImportUrllib.request,os,hashlib; h ='2915d1851351e5ee549c20394736b442'+'8bc59f460fa1548d1514676163dafc88'; PF ='Package Control.sublime-package'; IPP = Sublime.installed_packages_path (); Urllib.request.install_opener (Urllib.request.build_opener (Urllib.request.ProxyHandler ())); by = Urllib.request.urlopen ('http://packagecontrol.io/'+ Pf.replace (' ','%20'). read (); DH = hashlib.sha256 (by). Hexdigest ();Print('Error validating download (got%s instead of%s), please try manual install'% (DH, h))ifDH! = hElseOpen (Os.path.join (IPP, PF),'WB'). Write (by)
    • Restart Sublime Text3. (Opening the Sublime Text 3 Editor, under the menu->preferences, will be more than the package settings and two options, it means the installation of the control is successful.) )





Ii. How to use the package control to install the add-in


  • Bring up the command panel (ctrl+ Shift + P or menu ->tools->command paletter );
  • Select "PackageControl:Installthe package" ( enter install or Pcipin the input box to automatically prompt Install Package Select and enter );
  • Select the plugin and enter to complete the installation.


Third, recommend a number of common plug-ins



Initial installation Sublime text can refer to the following Packagecontrol official recommended popular plugins: Https://packagecontrol.io/browse/popular



The following simple recommended plug-in.



1.ConvertToUTF8



Install this installation package to solve the problem of opening GBK encoded format of Chinese garbled.



2.sublimegit



for version management.



For more information about the Git plugin and how to install it, you can view the wiki https://github.com/kemayo/sublime-text-git/wiki.



3.Emmet



A web-developed toolkit that automatically complements output based on abbreviations, greatly improving the workflow of HTML and CSS.



Emmet's abbreviated syntax and operational usage can be found in the official documentation: http://docs.emmet.io/



Emmet common abbreviation trigger words: http://docs.emmet.io/cheat-sheet/



For example: The convenient trigger word in HTML-"! "-(Create a new file with the suffix. html, open the file input i + Tab shortcut, get the HTML basic frame as)



     



4.Sublimelinter



Code Syntax check, applicable to a variety of syntax.



Sublimelinter configuration and use See Official documents: http://sublimelinter.readthedocs.org/



5.Alignment



Auto-align, quickly and neatly align the selected target code.



Shortcut keys: Windows---Ctrl + Alt + A



6.brackethighlighter



parentheses highlight the match.



See the official documentation for the use of Brackethighter: http://facelessuser.github.io/BracketHighlighter/



7.Can I use



Query the compatibility of CSS properties.



8.Color Picker



When writing CSS colors, you don't have to leave sublime, you can use the shortcut keys to bring up the color picker and choose the colors you need. Click the Pick button and the color is converted to hexadecimal color format and inserted into the text.



shortcut keys: Windows---Ctrl + Shift + C



9.Color highlighter



When you select the hexadecimal color format or the RGB color format in the text, you can preview to the corresponding color.













Sublime Text 3 Editor installation


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.