{"id":20712,"date":"2024-11-19T13:25:09","date_gmt":"2024-11-19T05:25:09","guid":{"rendered":"https:\/\/fwq.ai\/blog\/20712\/"},"modified":"2024-11-19T13:25:09","modified_gmt":"2024-11-19T05:25:09","slug":"sublime%e6%80%8e%e4%b9%88%e8%b7%b3%e8%bd%ac%e5%88%b0%e6%b5%8f%e8%a7%88%e5%99%a8","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/20712\/","title":{"rendered":"sublime\u600e\u4e48\u8df3\u8f6c\u5230\u6d4f\u89c8\u5668"},"content":{"rendered":"<blockquote><p>\n  \u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u5728 sublime text \u4e2d\u5feb\u901f\u8df3\u8f6c\u5230\u6d4f\u89c8\u5668\uff1a\u914d\u7f6e\u6d4f\u89c8\u5668\u6253\u5f00\u547d\u4ee4\uff1a\u5728 &#8220;preferences&#8221; &gt; &#8220;settings &#8211; user&#8221; \u4e2d\u6dfb\u52a0 &#8220;open_browser_command&#8221; \u8bbe\u7f6e\uff0c\u6307\u5b9a\u6d4f\u89c8\u5668\u8def\u5f84\u3002\u6253\u5f00\u6587\u4ef6\uff1a\u5728 sublime text \u4e2d\u6253\u5f00\u8981\u6d4f\u89c8\u7684\u6587\u4ef6\u3002\u8df3\u8f6c\u5230\u6d4f\u89c8\u5668\uff1a\u6309 ctrl + b\uff08windows\uff09\u6216 cmd + b\uff08macos\uff09\u3002\u67e5\u770b\u5df2\u6253\u5f00\u7684\u6587\u4ef6\uff1a\u6587\u4ef6\u5c06\u5728\u9ed8\u8ba4\u6d4f\u89c8\u5668\u4e2d\u6253\u5f00\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/03\/2024040314542345731.jpg\" class=\"aligncenter\" title=\"sublime\u600e\u4e48\u8df3\u8f6c\u5230\u6d4f\u89c8\u5668\u63d2\u56fe\" alt=\"sublime\u600e\u4e48\u8df3\u8f6c\u5230\u6d4f\u89c8\u5668\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u5728 Sublime Text \u4e2d\u5feb\u901f\u8df3\u8f6c\u5230\u6d4f\u89c8\u5668<\/strong><\/p>\n<p>\u5728 Sublime Text \u4e2d\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u5728\u7f16\u8f91\u5668\u4e2d\u6253\u5f00\u6587\u4ef6\u5e76\u76f4\u63a5\u8df3\u8f6c\u5230\u6d4f\u89c8\u5668\u4e2d\u67e5\u770b\u3002\u6b64\u529f\u80fd\u5bf9\u4e8e\u5feb\u901f\u9a8c\u8bc1\u4ee3\u7801\u66f4\u6539\u6216\u8bbf\u95ee\u6240\u9700\u6587\u4ef6\u975e\u5e38\u6709\u7528\u3002<\/p>\n<p><strong>\u6b65\u9aa4\uff1a<\/strong><\/p>\n<ol>\n<li>\n<p><strong>\u914d\u7f6e\u6d4f\u89c8\u5668\u6253\u5f00\u547d\u4ee4\uff1a<\/strong><\/p>\n<ul>\n<li>\u5bfc\u822a\u81f3 \u201cPreferences\u201d &gt; \u201cSettings &#8211; User\u201d\u3002<\/li>\n<li>\u5728 JSON \u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/li>\n<\/ul>\n<pre>\"open_browser_command\": \"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe %s\"<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<ul>\n<li>\u66ff\u6362 C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe \u4e3a\u4f60\u8ba1\u7b97\u673a\u4e0a Chrome \u5b89\u88c5\u7684\u8def\u5f84\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u6253\u5f00\u6587\u4ef6\uff1a<\/strong><\/p>\n<ul>\n<li>\u5728 Sublime Text \u4e2d\uff0c\u6253\u5f00\u4f60\u8981\u6d4f\u89c8\u7684\u6587\u4ef6\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u8df3\u8f6c\u5230\u6d4f\u89c8\u5668\uff1a<\/strong><\/p>\n<ul>\n<li>\u5982\u679c\u4f60\u4f7f\u7528 Windows\uff0c\u8bf7\u6309 Ctrl + B\u3002<\/li>\n<li>\u5982\u679c\u4f60\u4f7f\u7528 macOS\uff0c\u8bf7\u6309 Cmd + B\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u67e5\u770b\u5df2\u6253\u5f00\u7684\u6587\u4ef6\uff1a<\/strong><\/p>\n<ul>\n<li>Sublime Text \u5c06\u5728\u9ed8\u8ba4\u6d4f\u89c8\u5668\u4e2d\u6253\u5f00\u8be5\u6587\u4ef6\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><strong>\u9ad8\u7ea7\u8bbe\u7f6e\uff1a<\/strong><\/p>\n<ul>\n<li> <strong>\u81ea\u5b9a\u4e49\u6d4f\u89c8\u5668\u547d\u4ee4\uff1a<\/strong>\u4f60\u53ef\u4ee5\u5c06\u4efb\u4f55\u6d4f\u89c8\u5668\u547d\u4ee4\u5206\u914d\u7ed9 \u201copen_browser_command\u201d \u8bbe\u7f6e\u3002<\/li>\n<li> <strong>\u4f7f\u7528\u7279\u5b9a\u6d4f\u89c8\u5668\u6807\u7b7e\uff1a<\/strong>\u901a\u8fc7\u5728\u547d\u4ee4\u4e2d\u6dfb\u52a0\u53c2\u6570\uff0c\u4f8b\u5982 &#8211;new-tab \u6216 &#8211;incognito\uff0c\u53ef\u4ee5\u5728\u7279\u5b9a\u6807\u7b7e\u6216\u9690\u8eab\u6a21\u5f0f\u4e2d\u6253\u5f00\u6587\u4ef6\u3002<\/li>\n<li> <strong>\u4f7f\u7528\u5916\u90e8\u63d2\u4ef6\uff1a<\/strong>\u6709\u8bb8\u591a\u7b2c\u4e09\u65b9\u63d2\u4ef6\u53ef\u4ee5\u6269\u5c55 Sublime Text \u4e2d\u7684\u6d4f\u89c8\u5668\u8df3\u8f6c\u529f\u80fd\uff0c\u4f8b\u5982 \u201cBrowserPlus\u201d \u548c \u201cOpen in Browser\u201d\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f\u600e\u4e48\u8df3\u8f6c\u5230\u6d4f\u89c8\u5668\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>\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u5728 sublime text \u4e2d\u5feb\u901f\u8df3\u8f6c\u5230\u6d4f\u89c8\u5668\uff1a\u914d\u7f6e\u6d4f\u89c8\u5668\u6253\u5f00\u547d\u4ee4\uff1a\u5728 &#8220;preferences&#8221; &gt; &#8220;settings &#8211; user&#8221; \u4e2d\u6dfb\u52a0 &#8220;open_browser_command&#8221; \u8bbe\u7f6e\uff0c\u6307\u5b9a\u6d4f\u89c8\u5668\u8def\u5f84\u3002\u6253\u5f00\u6587\u4ef6\uff1a\u5728 sublime text \u4e2d\u6253\u5f00\u8981\u6d4f\u89c8\u7684\u6587\u4ef6\u3002\u8df3\u8f6c\u5230\u6d4f\u89c8\u5668\uff1a\u6309 ctrl + b\uff08windows\uff09\u6216 cmd + b\uff08macos\uff09\u3002\u67e5\u770b\u5df2\u6253\u5f00\u7684\u6587\u4ef6\uff1a\u6587\u4ef6\u5c06\u5728\u9ed8\u8ba4\u6d4f\u89c8\u5668\u4e2d\u6253\u5f00\u3002 \u5982\u4f55\u5728 Sublime Text \u4e2d\u5feb\u901f\u8df3\u8f6c\u5230\u6d4f\u89c8\u5668 \u5728 Sublime Text \u4e2d\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u5728\u7f16\u8f91\u5668\u4e2d\u6253\u5f00\u6587\u4ef6\u5e76\u76f4\u63a5\u8df3\u8f6c\u5230\u6d4f\u89c8\u5668\u4e2d\u67e5\u770b\u3002\u6b64\u529f\u80fd\u5bf9\u4e8e\u5feb\u901f\u9a8c\u8bc1\u4ee3\u7801\u66f4\u6539\u6216\u8bbf\u95ee\u6240\u9700\u6587\u4ef6\u975e\u5e38\u6709\u7528\u3002 \u6b65\u9aa4\uff1a \u914d\u7f6e\u6d4f\u89c8\u5668\u6253\u5f00\u547d\u4ee4\uff1a \u5bfc\u822a\u81f3 \u201cPreferences\u201d &gt; \u201cSettings &#8211; User\u201d\u3002 \u5728 JSON \u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u4ee3\u7801\uff1a &#8220;open_browser_command&#8221;: &#8220;C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe %s&#8221; \u767b\u5f55\u540e\u590d\u5236 \u66ff\u6362 C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe \u4e3a\u4f60\u8ba1\u7b97\u673a\u4e0a Chrome \u5b89\u88c5\u7684\u8def\u5f84\u3002 \u6253\u5f00\u6587\u4ef6\uff1a \u5728 [&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-20712","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20712","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=20712"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20712\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=20712"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=20712"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=20712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}