Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Installation of pachage control in sublimetext3

Shulou Source: shulou.com Published: 2022-06-01 03:11:14 10月05日 Update

Use the shortcut ctrl+ `(backquote, the one above the tab key) to open the installation window

two。 Paste the following code

Import urllib.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)) if dh! = h else open (os.path.join (ipp, pf),' wb') .write (by)

3. Press enter to install

4. Use packages control, ctrl+shift+ p key, and type install to load the installation package. After the installation is completed, you can enter the package to be installed.

Reference: https://packagecontrol.io/installation#st3

Tags: Keyboard shortcuts input code quotation marks face reference Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info macOS Huawei NVidia Linux