Sublime Text 3 hack and Emmet (original Zen Coding) plug-in Package installation method

Source: Internet
Author: User

I've always heard that sublime text is a very easy to use editor, because it not only has super-fast start speed, simple and beautiful interface is also deeply loved by Web front-end developers, can improve our development efficiency. Try it today. Sublime Text 3, which is the latest build version 3065 of sublime text. I have always been to a software is not to forget, with the need to try its latest version, so as to experience the benefits of this software.

This is sublime Text 3 official Please choose according to your own system

First go to the official website to download the software, you like second-hand (green version)? Ask the mother first. This software is in fact unlimited free trial, do not crack also does not matter, but always see it unregistered state is very uncomfortable, asked the degree Niang, sure enough, haha, in the following:

-----BEGIN LICENSE-----Andrew webersingle User licenseea7e-85560542397640  33f41cfce1d0ae85 a0bbd039 0e9c8d55 e1b89d5d5cdb7036 e56de1c0 EFCC0840 650cd3a6b98fc99c 8fac73ee D2B95564DF450523- -----END LICENSE------

Activation actions such as:

Now let's install the Emmet plugin. I'm not going to say much about the plug-in function. Following the documentation, I tried the installation as follows:

Here is the code to use:

Import Urllib.request,os,hashlib; h ='7183a2d3e96f11eeadd761d777e62404'+'e330c659d4bb41d3bdf022e94cab3cd0'; 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://sublime.wbond.net/'+ 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)

<script type= "Text/javascript" >
function Jscopy () {
var E=document.getelementbyid ("content");//object is content
E.select (); Select Object
Document.execcommand ("Copy"); Perform a browser copy command

Alert (" copied Well, can be glued. ");
}
</script>
<textarea cols= "name=" Content "rows=" 2 "id=" Content ">www.qzpcw.com</textarea>
<input Type=button value= " copy " onclick= "Jscopy ()" >

The shortcut key ctrl+~ (usually below the ESC key) can also be opened in the menu bar from the View submenu show console, the following is a console, OK, we put the above code v in,

Well, there was a mistake, although English is not too much, barely can read it

Later found the manual installation of Emmet plug-in package method, or manual good Ah, haha. Manually put the downloaded package into this folder below ,emmet plugin download . </p>

Put it in, wait for the installation to restart OK.

Try the effect, enter: Html:5, and then shortcut key ctrl+e, the effect is as follows:

Sublime Text 3 hack and Emmet (original Zen Coding) plug-in Package installation method

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.