{"id":20679,"date":"2024-11-19T17:27:59","date_gmt":"2024-11-19T09:27:59","guid":{"rendered":"https:\/\/fwq.ai\/blog\/20679\/"},"modified":"2024-11-19T17:27:59","modified_gmt":"2024-11-19T09:27:59","slug":"sublime%e6%80%8e%e4%b9%88%e8%bf%90%e8%a1%8cinput","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/20679\/","title":{"rendered":"sublime\u600e\u4e48\u8fd0\u884cinput"},"content":{"rendered":"<blockquote><p>\n  \u6709\u4e09\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5728 sublime text \u4e2d\u8fd0\u884c\u5305\u542b\u8f93\u5165\u7684\u4ee3\u7801\uff1a\u6309\u4e0b f5 \u952e\u5e76\u9009\u62e9\u6784\u5efa\u7cfb\u7edf\u3002\u901a\u8fc7\u83dc\u5355\u680f\u4e2d\u7684\u201c\u5de5\u5177\u201d\u9009\u9879\u5361\u9009\u62e9\u6784\u5efa\u7cfb\u7edf\uff0c\u7136\u540e\u6309\u4e0b ctrl + b\uff08windows\/linux\uff09\u6216 cmd + b\uff08mac\uff09\u3002\u5b89\u88c5\u201c\u8f93\u5165\u8fd0\u884c\u7a0b\u5e8f\u201d\u63d2\u4ef6\u5e76\u901a\u8fc7\u547d\u4ee4\u9762\u677f\u8fd0\u884c\u4ee3\u7801\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/03\/2024040312301970990.jpg\" class=\"aligncenter\" title=\"sublime\u600e\u4e48\u8fd0\u884cinput\u63d2\u56fe\" alt=\"sublime\u600e\u4e48\u8fd0\u884cinput\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u5728 Sublime \u4e2d\u8fd0\u884c\u8f93\u5165<\/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\u5305\u542b\u8f93\u5165\u7684\u4ee3\u7801\u3002\u4ee5\u4e0b\u662f\u5982\u4f55\u64cd\u4f5c\uff1a<\/p>\n<p><strong>1. \u4f7f\u7528 F5 \u952e<\/strong><\/p>\n<ul>\n<li>\u70b9\u51fb\u952e\u76d8\u4e0a\u7684 F5 \u952e\u4ee5\u6253\u5f00\u8fd0\u884c\u547d\u4ee4\u9762\u677f\u3002<\/li>\n<li>\u9009\u62e9 &#8220;Build&#8221; \u5e76\u9009\u62e9\u4e00\u4e2a\u6784\u5efa\u7cfb\u7edf\uff08\u4f8b\u5982 &#8220;Python&#8221;\uff09\u3002<\/li>\n<li>Sublime \u4f1a\u8fd0\u884c\u5305\u542b\u8f93\u5165\u7684\u4ee3\u7801\u3002<\/li>\n<\/ul>\n<p><strong>2. \u4f7f\u7528\u6784\u5efa\u7cfb\u7edf<\/strong><\/p>\n<ul>\n<li>\u8f6c\u5230\u83dc\u5355\u680f\uff0c\u9009\u62e9 &#8220;Tools&#8221;\uff0c\u7136\u540e\u9009\u62e9 &#8220;Build System&#8221;\u3002<\/li>\n<li>\u9009\u62e9\u4e00\u4e2a\u6784\u5efa\u7cfb\u7edf\uff08\u4f8b\u5982 &#8220;Python&#8221;\uff09\u3002<\/li>\n<li>\u6309\u4e0b Ctrl + B\uff08Windows\/Linux\uff09\u6216 Cmd + B\uff08Mac\uff09\u4ee5\u8fd0\u884c\u5305\u542b\u8f93\u5165\u7684\u4ee3\u7801\u3002<\/li>\n<\/ul>\n<p><strong>3. \u4f7f\u7528\u63d2\u4ef6<\/strong><\/p>\n<ul>\n<li>\u5b89\u88c5 &#8220;Input Runner&#8221; \u63d2\u4ef6\u3002<\/li>\n<li>\u6253\u5f00\u547d\u4ee4\u9762\u677f\uff08Ctrl + Shift + P \/ Cmd + Shift + P\uff09\u3002<\/li>\n<li>\u8f93\u5165 &#8220;Input Runner&#8221;\u3002<\/li>\n<li>\u9009\u62e9 &#8220;Input Runner: Run with Input&#8221;\u3002<\/li>\n<\/ul>\n<p>\u4e0a\u8ff0\u65b9\u6cd5\u90fd\u53ef\u4ee5\u8ba9\u60a8\u5728 Sublime Text \u4e2d\u8fd0\u884c\u5305\u542b\u8f93\u5165\u7684\u4ee3\u7801\u3002\u5177\u4f53\u4f7f\u7528\u54ea\u79cd\u65b9\u6cd5\u53d6\u51b3\u4e8e\u60a8\u7684\u4e2a\u4eba\u504f\u597d\u548c\u5de5\u4f5c\u6d41\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u600e\u4e48\u8fd0\u884cinput\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>\u6709\u4e09\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5728 sublime text \u4e2d\u8fd0\u884c\u5305\u542b\u8f93\u5165\u7684\u4ee3\u7801\uff1a\u6309\u4e0b f5 \u952e\u5e76\u9009\u62e9\u6784\u5efa\u7cfb\u7edf\u3002\u901a\u8fc7\u83dc\u5355\u680f\u4e2d\u7684\u201c\u5de5\u5177\u201d\u9009\u9879\u5361\u9009\u62e9\u6784\u5efa\u7cfb\u7edf\uff0c\u7136\u540e\u6309\u4e0b ctrl + b\uff08windows\/linux\uff09\u6216 cmd + b\uff08mac\uff09\u3002\u5b89\u88c5\u201c\u8f93\u5165\u8fd0\u884c\u7a0b\u5e8f\u201d\u63d2\u4ef6\u5e76\u901a\u8fc7\u547d\u4ee4\u9762\u677f\u8fd0\u884c\u4ee3\u7801\u3002 \u5982\u4f55\u5728 Sublime \u4e2d\u8fd0\u884c\u8f93\u5165 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\u5305\u542b\u8f93\u5165\u7684\u4ee3\u7801\u3002\u4ee5\u4e0b\u662f\u5982\u4f55\u64cd\u4f5c\uff1a 1. \u4f7f\u7528 F5 \u952e \u70b9\u51fb\u952e\u76d8\u4e0a\u7684 F5 \u952e\u4ee5\u6253\u5f00\u8fd0\u884c\u547d\u4ee4\u9762\u677f\u3002 \u9009\u62e9 &#8220;Build&#8221; \u5e76\u9009\u62e9\u4e00\u4e2a\u6784\u5efa\u7cfb\u7edf\uff08\u4f8b\u5982 &#8220;Python&#8221;\uff09\u3002 Sublime \u4f1a\u8fd0\u884c\u5305\u542b\u8f93\u5165\u7684\u4ee3\u7801\u3002 2. \u4f7f\u7528\u6784\u5efa\u7cfb\u7edf \u8f6c\u5230\u83dc\u5355\u680f\uff0c\u9009\u62e9 &#8220;Tools&#8221;\uff0c\u7136\u540e\u9009\u62e9 &#8220;Build System&#8221;\u3002 \u9009\u62e9\u4e00\u4e2a\u6784\u5efa\u7cfb\u7edf\uff08\u4f8b\u5982 &#8220;Python&#8221;\uff09\u3002 \u6309\u4e0b Ctrl + B\uff08Windows\/Linux\uff09\u6216 Cmd + B\uff08Mac\uff09\u4ee5\u8fd0\u884c\u5305\u542b\u8f93\u5165\u7684\u4ee3\u7801\u3002 3. \u4f7f\u7528\u63d2\u4ef6 \u5b89\u88c5 &#8220;Input Runner&#8221; \u63d2\u4ef6\u3002 \u6253\u5f00\u547d\u4ee4\u9762\u677f\uff08Ctrl + Shift [&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-20679","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20679","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=20679"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20679\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=20679"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=20679"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=20679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}