{"id":499,"date":"2018-03-05T16:20:07","date_gmt":"2018-03-05T08:20:07","guid":{"rendered":"http:\/\/hahacool.com\/?p=499"},"modified":"2019-04-22T23:51:12","modified_gmt":"2019-04-22T15:51:12","slug":"sublime-text3%e5%b8%b8%e7%94%a8%e8%ae%be%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/hahacool.com\/?p=499","title":{"rendered":"sublime text3\u5e38\u7528\u8bbe\u7f6e"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">&nbsp;1.\u5b89\u88c5<\/h4>\n\n\n\n<p>\u5728Sublime\u4e2d\u6253\u5f00View \u2013&gt; Show Console\uff0c\u5c06\u4ee5\u4e0b\u4ee3\u7801\u590d\u5236\u5230\u8f93\u5165\u6846\u4e2d\u540e\u6309\u56de\u8f66\u952e<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http:\/\/sublime.wbond.net\/' + pf.replace(' ','%20')).read())<\/code><\/pre>\n\n\n\n<p>\u6253\u5f00Preferences \u2013&gt; Package Control\uff0c\u5982\u679c\u80fd\u770b\u5230\u6b64\u83dc\u5355\uff0c\u5219\u8868\u793a\u5b89\u88c5\u6210\u529f<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">2.\u81ea\u5df1\u5e38\u7528\u63d2\u67b6\u5217\u8868<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Emmet\uff08 HTML\/CSS\u4ee3\u7801\u5feb\u901f\u7f16\u5199\u63d2\u4ef6 ,\u4f1a\u81ea\u52a8\u5b89\u88c5\u5176\u4f9d\u8d56PyV8 binary\u5e93\uff0c\u5b89\u88c5PyV8\u5e93\u4f1a\u7528\u8f83\u957f\u65f6\u95f4\uff09<\/li><li> HTML5 <\/li><li>CSS3<\/li><li> JavaScript Completions <\/li><li> jQuery <\/li><li> LESS <\/li><li> Color Highlighter \uff08\u53f3\u51fb\u9009\u62e9&#8230;with color pick\u6253\u5f00\u62fe\u8272\u5668\uff09<\/li><li>ConvertToUTF8\uff08 \u89e3\u51b3Sublime\u4e0d\u652f\u6301GBK\u3001GB2312\u7f16\u7801\u7684\u95ee\u9898\uff0c\u652f\u6301\u6253\u5f00GBK\u7f16\u7801\u7684\u6587\u4ef6 \uff09<\/li><li> AutoFileName \uff08 \u63d0\u793a\u6587\u4ef6\u8def\u5f84\uff0c\u5feb\u901f\u8f93\u5165\u6587\u4ef6\u540d \uff09<\/li><li> Doc\u200bBlockr \uff08 \u751f\u6210\u4f18\u7f8e\u6ce8\u91ca \uff0c \u8f93\u5165\/*\u6216\/**\uff0c\u7136\u540e\u6309\u56de\u8f66\uff0c\u4f1a\u81ea\u52a8\u751f\u6210\u4f18\u7f8e\u6ce8\u91ca\uff0c\u5982\u679c\u5728\u51fd\u6570\u4e0a\u9762\u5199\/**\uff0c\u8fd8\u4f1a\u5305\u62ec\u53c2\u6570\u3001\u8fd4\u56de\u503c\u7b49 \uff09<\/li><li> SideBarEnhancements \uff08 \u4fa7\u8fb9\u680f\u589e\u5f3a\u63d2\u4ef6\uff0c\u5728\u8bbe\u7f6e\u91cc\u9762\u6307\u5b9a\u4e0b\u9ed8\u8ba4\u6d4f\u89c8\u5668\uff0c\u7136\u540e\u518d\u5728\u4fa7\u8fb9\u680f\u7684\u6587\u4ef6\u4e0a\u5355\u51fb\u53f3\u952e\u9009\u62e9\u6253\u5f00\u5c31\u6253\u5f00\u4e86\uff0c\u5982\u679c\u9009\u62e9\u7528\u9ed8\u8ba4\u6253\u5f00\u5c31\u662f\u4f60\u914d\u7f6e\u7684\u6d4f\u89c8\u5668\uff0c\u4e0d\u7136\u662f\u4f60\u7535\u8111\u81ea\u5df1\u7684\u9ed8\u8ba4\u6d4f\u89c8\u5668 \uff09<\/li><li>AngularJS<\/li><li> Vue Syntax Highlight <\/li><li>Pretty JSON\uff08\u5feb\u6377\u952ectrl+ alt+ J\uff09<\/li><li> HTML-CSS-JS Prettify\uff08\u9700\u8981\u672c\u5730\u8981\u914d\u7f6eNodeJS\u73af\u5883\uff0c\u53f3\u952e\u83dc\u5355\u91cc\u9009\u62e9\u914d\u7f6enode\u8def\u5f84\uff0c\u5982\u679c\u662f\u6309\u7167\u9ed8\u8ba4\u5b89\u88c5\u7684\uff0c\u4e0d\u9700\u8981\u6539\u52a8\u3002\u683c\u5f0f\u5316\u6df7\u4e71\u4e0d\u582a\u7684\u4ee3\u7801\u7528\uff0c\u9009\u4e2d\u9700\u8981\u683c\u5f0f\u5316\u7684\u4ee3\u7801\u540e\u53f3\u952e\u9009\u62e9\u683c\u5f0f\u5316\u5c31\u884c\uff09 <\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">3.\u9009\u62e9\u7528\u63d2\u4ef6<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>JsFormat\uff08\u5feb\u6377\u952ectrl+alt+F\uff0c\u597d\u50cf\u548cHTML-CSS-JS Prettify \u529f\u80fd\u91cd\u590d\u4e86\uff09 <\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">4.\u5e38\u7528\u64cd\u4f5c<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li> \u590d\u5236\u5f53\u524d\u884c\u5230\u4e0b\u4e00\u884c \uff1a ctrl+shift+d <\/li><li> S\uff1a\u9f20\u6807\u9009\u4e2d\u6587\u672c\uff0c\u53cd\u590d\u6309 CTRL D (Command D) \u5373\u53ef\u7ee7\u7eed\u5411\u4e0b\u540c\u65f6\u9009\u4e2d\u4e0b\u4e00\u4e2a\u76f8\u540c\u7684\u6587\u672c\u8fdb\u884c\u540c\u65f6\u7f16\u8f91 <\/li><li> \u9f20\u6807\u9009\u4e2d\u6587\u672c\uff0c\u6309\u4e0b Alt F3 (Win) \u6216 Ctrl Command G(Mac) \u5373\u53ef\u4e00\u6b21\u6027\u9009\u62e9\u5168\u90e8\u7684\u76f8\u540c\u6587\u672c\u8fdb\u884c\u540c\u65f6\u7f16\u8f91\uff1b <\/li><li> \u901a\u7528\u70b9\u7684\uff0c\u5c31\u662f\u6309\u4f4fctrl\uff0c\u7136\u540e\u9f20\u6807\u5de6\u952e\u5355\u51fb\u8981\u6539\u7684\u5730\u65b9 <\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">5. \u5173\u95ed\u81ea\u52a8\u66f4\u65b0 <\/h4>\n\n\n\n<p>\n\n\u6253\u5f00Preferences\u2014\u2014Settings-User\uff0c\u6dfb\u52a0\u5982\u4e0b\u5185\u5bb9\uff1a&#8221;update_check&#8221;: false\n\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;1.\u5b89\u88c5 \u5728Sublime\u4e2d\u6253\u5f00View \u2013&gt; Show Console\uff0c\u5c06\u4ee5\u4e0b\u4ee3\u7801\u590d\u5236\u5230\u8f93 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[166],"tags":[225,275],"class_list":["post-499","post","type-post","status-publish","format-standard","hentry","category-it","tag-sublime-text","tag-275"],"views":1094,"_links":{"self":[{"href":"https:\/\/hahacool.com\/index.php?rest_route=\/wp\/v2\/posts\/499"}],"collection":[{"href":"https:\/\/hahacool.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hahacool.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hahacool.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hahacool.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=499"}],"version-history":[{"count":11,"href":"https:\/\/hahacool.com\/index.php?rest_route=\/wp\/v2\/posts\/499\/revisions"}],"predecessor-version":[{"id":718,"href":"https:\/\/hahacool.com\/index.php?rest_route=\/wp\/v2\/posts\/499\/revisions\/718"}],"wp:attachment":[{"href":"https:\/\/hahacool.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=499"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hahacool.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=499"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hahacool.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}