{"id":20680,"date":"2024-11-19T08:29:46","date_gmt":"2024-11-19T00:29:46","guid":{"rendered":"https:\/\/fwq.ai\/blog\/20680\/"},"modified":"2024-11-19T08:29:46","modified_gmt":"2024-11-19T00:29:46","slug":"sublime%e5%86%99%e4%ba%86%e4%bb%a3%e7%a0%81%e6%80%8e%e4%b9%88%e8%bf%90%e8%a1%8c","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/20680\/","title":{"rendered":"sublime\u5199\u4e86\u4ee3\u7801\u600e\u4e48\u8fd0\u884c"},"content":{"rendered":"<blockquote><p>\n  sublime text \u63d0\u4f9b\u591a\u79cd\u8fd0\u884c\u4ee3\u7801\u7684\u65b9\u5f0f\uff1a\u4f7f\u7528\u952e\u76d8\u5feb\u6377\u952e\uff08windows\/linux\uff1actrl + b\uff0cmacos\uff1acmd + b\uff09\u4ece\u83dc\u5355\u680f\u4e2d\u9009\u62e9\u201c\u5de5\u5177\u201d &gt; \u201c\u6784\u5efa\u7cfb\u7edf\u201d &gt; \u201c\u65b0\u5efa\u6784\u5efa\u7cfb\u7edf\u201d\u5728\u547d\u4ee4\u9762\u677f\u4e2d\u8f93\u5165\u201c\u6784\u5efa\u201d\u5e76\u9009\u62e9\u201c\u6784\u5efa\u201d\uff08ctrl + shift + p\/cmd + shift + p\uff09\u6dfb\u52a0\u201cbuild_on_save\u201d\u8bbe\u7f6e\uff08\u9996\u9009\u9879 &gt; \u8bbe\u7f6e &gt; \u7528\u6237\uff09\u5b89\u88c5 repl \u63d2\u4ef6\u5e76\u4f7f\u7528\u952e\u76d8\u5feb\u6377\u952e\uff08windows\/linux\uff1actrl + alt + r\uff0cma\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/03\/2024040312331983635.jpg\" class=\"aligncenter\" title=\"sublime\u5199\u4e86\u4ee3\u7801\u600e\u4e48\u8fd0\u884c\u63d2\u56fe\" alt=\"sublime\u5199\u4e86\u4ee3\u7801\u600e\u4e48\u8fd0\u884c\u63d2\u56fe\" \/><\/p>\n<p><strong>Sublime Text \u4e2d\u8fd0\u884c\u4ee3\u7801<\/strong><\/p>\n<p>Sublime Text \u662f\u4e00\u4e2a\u6d41\u884c\u7684\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u5b83\u63d0\u4f9b\u4e86\u591a\u79cd\u65b9\u6cd5\u6765\u8fd0\u884c\u4ee3\u7801\uff1a<\/p>\n<p><strong>1. \u952e\u76d8\u5feb\u6377\u952e<\/strong><\/p>\n<ul>\n<li> <strong>Windows\/Linux\uff1a<\/strong> Ctrl + B<\/li>\n<li> <strong>macOS\uff1a<\/strong> Cmd + B<\/li>\n<\/ul>\n<p><strong>2. \u83dc\u5355\u680f<\/strong><\/p>\n<ul>\n<li>\u8f6c\u5230\u83dc\u5355\u680f\u4e2d\u7684\u201c\u5de5\u5177\u201d &gt; \u201c\u6784\u5efa\u7cfb\u7edf\u201d &gt; \u201c\u65b0\u5efa\u6784\u5efa\u7cfb\u7edf\u201d\u3002<\/li>\n<li>\u9009\u62e9\u4e00\u4e2a\u4e0e\u60a8\u7684\u8bed\u8a00\u5bf9\u5e94\u7684\u6784\u5efa\u7cfb\u7edf\uff0c\u4f8b\u5982\u201cPython\u201d\u6216\u201cC++\u201d\u3002<\/li>\n<\/ul>\n<p><strong>3. \u547d\u4ee4\u9762\u677f<\/strong><\/p>\n<ul>\n<li>\u6309 Ctrl + Shift + P\uff08Windows\/Linux\uff09\u6216 Cmd + Shift + P\uff08macOS\uff09\u6253\u5f00\u547d\u4ee4\u9762\u677f\u3002<\/li>\n<li>\u8f93\u5165\u201c\u6784\u5efa\u201d\u5e76\u9009\u62e9\u201c\u6784\u5efa\u201d\u3002<\/li>\n<\/ul>\n<p><strong>4. Build on Save<\/strong><\/p>\n<ul>\n<li>\u8f6c\u5230\u9996\u9009\u9879 &gt; \u8bbe\u7f6e &gt; \u7528\u6237\u3002<\/li>\n<li>\u5728\u201c\u989d\u5916\u8bbe\u7f6e\u201d\u5b57\u6bb5\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/li>\n<\/ul>\n<pre>  \"build_on_save\": true,<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u6b64\u8bbe\u7f6e\u5c06\u81ea\u52a8\u5728\u6bcf\u6b21\u4fdd\u5b58\u65f6\u8fd0\u884c\u60a8\u7684\u4ee3\u7801\u3002<\/p>\n<p><strong>5. Sublime REPL \u63d2\u4ef6<\/strong><\/p>\n<p>REPL\uff08Read-Eval-Print-Loop\uff09\u63d2\u4ef6\u5141\u8bb8\u60a8\u5728 Sublime Text \u4e2d\u76f4\u63a5\u8fd0\u884c\u4ee3\u7801\u3002\u5b89\u88c5\u63d2\u4ef6\u5e76\u4f7f\u7528\u4ee5\u4e0b\u952e\u76d8\u5feb\u6377\u952e\uff1a<\/p>\n<ul>\n<li> <strong>Windows\/Linux\uff1a<\/strong> Ctrl + Alt + R<\/li>\n<li> <strong>macOS\uff1a<\/strong> Cmd + Option + R<\/li>\n<\/ul>\n<p>\u8fd9\u4e9b\u65b9\u6cd5\u4e2d\u7684\u4efb\u4f55\u4e00\u79cd\u90fd\u53ef\u4ee5\u8fd0\u884c\u60a8\u7684 Sublime Text \u4e2d\u7684\u4ee3\u7801\u3002\u9009\u62e9\u6700\u9002\u5408\u60a8\u5de5\u4f5c\u6d41\u7a0b\u7684\u65b9\u6cd5\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5199\u4e86\u4ee3\u7801\u600e\u4e48\u8fd0\u884c\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>sublime text \u63d0\u4f9b\u591a\u79cd\u8fd0\u884c\u4ee3\u7801\u7684\u65b9\u5f0f\uff1a\u4f7f\u7528\u952e\u76d8\u5feb\u6377\u952e\uff08windows\/linux\uff1actrl + b\uff0cmacos\uff1acmd + b\uff09\u4ece\u83dc\u5355\u680f\u4e2d\u9009\u62e9\u201c\u5de5\u5177\u201d &gt; \u201c\u6784\u5efa\u7cfb\u7edf\u201d &gt; \u201c\u65b0\u5efa\u6784\u5efa\u7cfb\u7edf\u201d\u5728\u547d\u4ee4\u9762\u677f\u4e2d\u8f93\u5165\u201c\u6784\u5efa\u201d\u5e76\u9009\u62e9\u201c\u6784\u5efa\u201d\uff08ctrl + shift + p\/cmd + shift + p\uff09\u6dfb\u52a0\u201cbuild_on_save\u201d\u8bbe\u7f6e\uff08\u9996\u9009\u9879 &gt; \u8bbe\u7f6e &gt; \u7528\u6237\uff09\u5b89\u88c5 repl \u63d2\u4ef6\u5e76\u4f7f\u7528\u952e\u76d8\u5feb\u6377\u952e\uff08windows\/linux\uff1actrl + alt + r\uff0cma Sublime Text \u4e2d\u8fd0\u884c\u4ee3\u7801 Sublime Text \u662f\u4e00\u4e2a\u6d41\u884c\u7684\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u5b83\u63d0\u4f9b\u4e86\u591a\u79cd\u65b9\u6cd5\u6765\u8fd0\u884c\u4ee3\u7801\uff1a 1. \u952e\u76d8\u5feb\u6377\u952e Windows\/Linux\uff1a Ctrl + B macOS\uff1a Cmd + B 2. \u83dc\u5355\u680f \u8f6c\u5230\u83dc\u5355\u680f\u4e2d\u7684\u201c\u5de5\u5177\u201d &gt; \u201c\u6784\u5efa\u7cfb\u7edf\u201d &gt; \u201c\u65b0\u5efa\u6784\u5efa\u7cfb\u7edf\u201d\u3002 \u9009\u62e9\u4e00\u4e2a\u4e0e\u60a8\u7684\u8bed\u8a00\u5bf9\u5e94\u7684\u6784\u5efa\u7cfb\u7edf\uff0c\u4f8b\u5982\u201cPython\u201d\u6216\u201cC++\u201d\u3002 3. \u547d\u4ee4\u9762\u677f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-20680","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20680","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=20680"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20680\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=20680"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=20680"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=20680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}