{"id":1733,"date":"2014-01-24T12:11:58","date_gmt":"2014-01-24T10:11:58","guid":{"rendered":"http:\/\/www.extradrm.com\/?p=1733"},"modified":"2020-10-04T21:52:38","modified_gmt":"2020-10-04T19:52:38","slug":"sublime-text-3-windows-package-control","status":"publish","type":"post","link":"https:\/\/www.extradrm.com\/?p=1733","title":{"rendered":"Sublime Text 3 Windows Package Control"},"content":{"rendered":"<h2>How to install &amp; use Package Control<\/h2>\n<p><strong>Package control<\/strong> is a full-featured package manager that helps discovering, installing, updating and removing packages for Sublime Text 2\/3. It features an automatic upgrader and supports GitHub, BitBucket and a full channel\/repository system. You can find the web site <strong><a href=\"https:\/\/sublime.wbond.net\/installation\" target=\"_blank\" rel=\"noopener noreferrer\">HERE<\/a><\/strong><\/p>\n<p>It&#8217;s a Sublime Text package that makes it super-easy &amp; convenient to install &amp; manage all your other Sublime Text packages. Because of the ease of use it offers, Package Control really should be the first Sublime Text package you install.<\/p>\n<p>The simplest method of windows installation is through the Sublime Text console. The console is accessed via\u00a0 <strong>View <em>&gt;<\/em> Show Console menu<\/strong>. Once open, paste the appropriate Python code for your version of Sublime Text into the console.<\/p>\n<pre>import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404e330c659d4bb41d3bdf022e94cab3cd0'; 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)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)<\/pre>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.extradrm.com\/wp-content\/uploads\/2014\/01\/sublime1.jpg\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1735\" alt=\"sublime1\" src=\"http:\/\/www.extradrm.com\/wp-content\/uploads\/2014\/01\/sublime1.jpg\" width=\"1033\" height=\"475\" srcset=\"https:\/\/www.extradrm.com\/wp-content\/uploads\/2014\/01\/sublime1.jpg 1259w, https:\/\/www.extradrm.com\/wp-content\/uploads\/2014\/01\/sublime1-300x137.jpg 300w, https:\/\/www.extradrm.com\/wp-content\/uploads\/2014\/01\/sublime1-1024x470.jpg 1024w\" sizes=\"(max-width: 1033px) 100vw, 1033px\" \/><\/a><\/p>\n<p>After Package Control installs, you will see install succeeded then restart Sublime Text.<\/p>\n<p>Go now on <strong>Tools &gt; Command Palette<\/strong> and type Package you must see :<\/p>\n<p><a href=\"http:\/\/www.extradrm.com\/wp-content\/uploads\/2014\/01\/sublime2.jpg\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1739\" alt=\"sublime2\" src=\"http:\/\/www.extradrm.com\/wp-content\/uploads\/2014\/01\/sublime2.jpg\" width=\"728\" height=\"410\" \/><\/a><\/p>\n<p>With <strong>Package Control : Install Package<\/strong> selected you will see a lot of Code completion for Drupal \/ CodeIgniter which will help you to go faster when you are developping applications. On the <a href=\"https:\/\/sublime.wbond.net\/browse\" target=\"_blank\" rel=\"noopener noreferrer\">website<\/a>, you can browse also a lot of contributions &#8230;<\/p>\n<p>Let us selelect <strong>Package Control : Install Package<\/strong> we will have a long list &#8230; let us type drupal than we see :<\/p>\n<p><a href=\"http:\/\/www.extradrm.com\/wp-content\/uploads\/2014\/01\/sublime3.jpg\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1741\" alt=\"sublime3\" src=\"http:\/\/www.extradrm.com\/wp-content\/uploads\/2014\/01\/sublime3.jpg\" width=\"751\" height=\"426\" srcset=\"https:\/\/www.extradrm.com\/wp-content\/uploads\/2014\/01\/sublime3.jpg 751w, https:\/\/www.extradrm.com\/wp-content\/uploads\/2014\/01\/sublime3-300x170.jpg 300w\" sizes=\"(max-width: 751px) 100vw, 751px\" \/><\/a><\/p>\n<p>Usually, after any package installation, restart sublime Text<\/p>\n<p>The completion code will work often automatically and with tab key as linux systems &#8230;<\/p>\n<p>Cheers<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to install &amp; use Package Control Package control is a full-featured package manager that helps discovering, installing, updating and removing packages for Sublime Text 2\/3. It features an automatic upgrader and supports GitHub,&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":2846,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[30],"tags":[264,265,266],"youtube_video":null,"_links":{"self":[{"href":"https:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/posts\/1733"}],"collection":[{"href":"https:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.extradrm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1733"}],"version-history":[{"count":0,"href":"https:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/posts\/1733\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/media\/2846"}],"wp:attachment":[{"href":"https:\/\/www.extradrm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.extradrm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.extradrm.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}