id: e2c20ea582e6493f8c9b6fccdc08377e
parent_id: 
item_type: 1
item_id: 273bcd0908304c29b82f3b0153ce1cce
item_updated_time: 1764345576483
title_diff: "[{\"diffs\":[[1,\"Sublime Text 3 安装Package Control - Next Code\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":44}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>Sublime Text 3 安装Package Control - Next Code</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"13190\\\"></a>\\\r\\\n<h1>Sublime Text 3 安装Package Control - Next Code</h1>\\\r\\\n\\\r\\\n<div><span><div style=\\\"-evernote-webclip:true\\\"><br/><div style=\\\"font-size: 16px; display: inline-block;\\\"><div style=\\\"-webkit-tap-highlight-color:transparent;font-family:&quot;Pingfang SC&quot;, STHeiti, &quot;Lantinghei SC&quot;, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, SimSun, sans-serif;box-sizing:border-box;color:rgb(51, 51, 51);text-size-adjust:100%;font-size:62.5%;\\\"><div style=\\\"-webkit-tap-highlight-color:transparent;font-family:&quot;Pingfang SC&quot;, STHeiti, &quot;Lantinghei SC&quot;, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, SimSun, sans-serif;box-sizing:border-box;color:rgb(51, 51, 51);text-size-adjust:100%;font-size:1.2rem;background:#f8f8f8;\\\"><div style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;\\\"><div style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased;background:rgb(248, 248, 248);font-size:16px;text-align:center;\\\"><div style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;\\\"><div style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;text-align:left;\\\"><div style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;word-wrap:break-word;font-size:1.6rem;font-family:&quot;Pingfang SC&quot;, STHeiti, &quot;Lantinghei SC&quot;, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, SimSun, sans-serif;color:rgb(61, 70, 77);line-height:28px;\\\">\\\n                                    <span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;\\\"></span>\\\n                    <div style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;\\\">\\\n                        <p style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;margin-bottom:16px;\\\"> 原来Subl3安装Package Control很麻烦，现在简单的方法来了 </p> \\\n<p style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;margin-bottom:16px;\\\">   </p> \\\n<span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;\\\"></span>\\\n<h1 style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;font-size:24px;font-weight:500;\\\"> 一、简单的安装方法 </h1> \\\n<p style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;margin-bottom:16px;\\\"> 使用Ctrl+`快捷键或者通过View-&gt;Show Console菜单打开命令行，粘贴如下代码： </p> \\\n<pre style=\\\"word-wrap:normal;box-sizing:inherit;-webkit-tap-highlight-color:transparent;border-radius:3px;padding:2px;line-height:1.4;overflow-x:auto;display:block;font-size:13px;background:rgb(63, 63, 63);color:rgb(220, 220, 220);font-family:Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace;\\\"><code style=\\\"word-wrap:normal;box-sizing:inherit;-webkit-tap-highlight-color:transparent;border-radius:4px;padding:10px;line-height:1.4;overflow-x:auto;display:block;font-size:13px;background:rgb(63, 63, 63);color:rgb(220, 220, 220);font-family:Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace;\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(227, 206, 171);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(227, 206, 171);\\\">import</span></span> urllib.request,os; pf = <span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\">'Package Control.sublime-package'</span></span>; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.<span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(227, 206, 171);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(227, 206, 171);\\\">join</span></span>(ipp, pf), <span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\">'wb'</span></span>).<span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(227, 206, 171);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(227, 206, 171);\\\">write</span></span>(urllib.request.urlopen( <span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\">'http://sublime.wbond.net/'</span></span> + pf.replace(<span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\">' '</span></span>,<span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\">'%20'</span></span>)).<span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(227, 206, 171);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(227, 206, 171);\\\">read</span></span>())</code></pre> \\\n<p style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;margin-bottom:16px;\\\"> 如果顺利的话，此时就可以在Preferences菜单下看到Package Settings和Package Control两个菜单了。 </p> \\\n<p style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;margin-bottom:16px;\\\"> 顺便贴下Sublime Text2 的代码： </p> \\\n<pre style=\\\"word-wrap:normal;box-sizing:inherit;-webkit-tap-highlight-color:transparent;border-radius:3px;padding:2px;line-height:1.4;overflow-x:auto;display:block;font-size:13px;background:rgb(63, 63, 63);color:rgb(220, 220, 220);font-family:Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace;\\\"><code style=\\\"word-wrap:normal;box-sizing:inherit;-webkit-tap-highlight-color:transparent;border-radius:4px;padding:10px;line-height:1.4;overflow-x:auto;display:block;font-size:13px;background:rgb(63, 63, 63);color:rgb(220, 220, 220);font-family:Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace;\\\">import urllib2,<span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\">os</span></span>; pf=<span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\">'Package Control.sublime-package'</span></span>; ipp = sublime.installed_packages_path(); <span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\">os</span></span>.makedirs( ipp ) <span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(227, 206, 171);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(227, 206, 171);\\\">if</span></span> <span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(227, 206, 171);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(227, 206, 171);\\\">not</span></span> <span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\">os</span></span>.path.exists(ipp) <span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(227, 206, 171);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(227, 206, 171);\\\">else</span></span> None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler( ))); open( <span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\">os</span></span>.path.join( ipp, pf), <span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\">'wb'</span></span> ).write( urllib2.urlopen( <span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\">'http://sublime.wbond.net/'</span></span> +pf.replace( <span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\">' '</span></span>,<span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\">'%20'</span></span> )).read()); <span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\">print</span></span>( <span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\"><span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;color:rgb(204, 147, 147);\\\">'Please restart Sublime Text to finish installation'</span></span>)</code></pre> \\\n<span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;\\\"></span>\\\n<h1 style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;font-size:24px;font-weight:500;\\\"> 二、手动安装 </h1> \\\n<p style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;margin-bottom:16px;\\\"> 可能由于各种原因，无法使用代码安装，那可以通过以下步骤手动安装Package Control： </p> \\\n<p style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;margin-bottom:16px;\\\"> 1.点击<span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;\\\">Preferences <em style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;\\\">&gt;</em> Browse Packages菜单</span> </p> \\\n<p style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;margin-bottom:16px;\\\"> <span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;\\\">2.进入打开的目录的上层目录，然后再进入Installed Packages/目录</span> </p> \\\n<p style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;margin-bottom:16px;\\\"> <span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;\\\">3.下载<a href=\\\"https://sublime.wbond.net/Package%20Control.sublime-package\\\" rel=\\\"nofollow\\\" style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;font-family:&quot;Pingfang SC&quot;, STHeiti, &quot;Lantinghei SC&quot;, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, SimSun, sans-serif;border:none;outline:0px;transition:color 0.3s;text-decoration:none;color:rgb(68, 102, 187);\\\">Package Control.sublime-package</a>并复制到Installed Packages/目录</span> </p> \\\n<p style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;margin-bottom:16px;\\\"> <span style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;\\\">4.重启Sublime Text。</span> </p> \\\n<p style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;margin-bottom:16px;\\\">   </p> \\\n<p style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;margin-bottom:16px;\\\"> 参考： </p> \\\n<a href=\\\"https://sublime.wbond.net/installation#st3\\\" rel=\\\"nofollow\\\" style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;font-family:&quot;Pingfang SC&quot;, STHeiti, &quot;Lantinghei SC&quot;, &quot;Open Sans&quot;, Arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, SimSun, sans-serif;border:none;outline:0px;transition:color 0.3s;text-decoration:none;color:rgb(68, 102, 187);\\\">https://sublime.wbond.net/installation#st3</a> \\\n<p style=\\\"box-sizing:inherit;-webkit-tap-highlight-color:transparent;margin-bottom:16px;\\\">   </p>\\\n                    </div>\\\n                            </div></div></div></div></div></div></div></div><br/></div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":12743}]"
metadata_diff: {"new":{"id":"273bcd0908304c29b82f3b0153ce1cce","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764348824524,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T21:04:01.009Z
created_time: 2025-11-28T21:04:01.009Z
type_: 13