{"id":21684,"date":"2024-11-19T10:11:46","date_gmt":"2024-11-19T02:11:46","guid":{"rendered":"https:\/\/fwq.ai\/blog\/21684\/"},"modified":"2024-11-19T10:11:46","modified_gmt":"2024-11-19T02:11:46","slug":"vscode%e6%94%af%e6%8c%81%e4%b8%ad%e6%96%87%e5%90%97","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/21684\/","title":{"rendered":"vscode\u652f\u6301\u4e2d\u6587\u5417"},"content":{"rendered":"<blockquote><p>\n  \u662f\u7684\uff0cvisual studio code (vscode) \u652f\u6301\u4e2d\u6587\uff0c\u5e76\u63d0\u4f9b\u4e2d\u6587\u672c\u5730\u5316\u754c\u9762\u3001\u6587\u6863\u548c\u793e\u533a\u652f\u6301\u3002\u8981\u542f\u7528\u4e2d\u6587\u754c\u9762\uff0c\u53ef\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u8bbe\u7f6e\uff1a 1. \u6253\u5f00 vscode\uff1b 2. \u8f6c\u5230\u201c\u6587\u4ef6\u201d&gt;\u201c\u9996\u9009\u9879\u201d&gt;\u201c\u8bbe\u7f6e\u201d\uff1b 3. \u641c\u7d22\u5e76\u66f4\u6539 \u201clocale\u201d \u8bbe\u7f6e\u4e3a \u201czh-cn\u201d\uff1b 4. \u91cd\u542f vscode\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202407\/31\/2024073120340512305.jpg\" class=\"aligncenter\" title=\"vscode\u652f\u6301\u4e2d\u6587\u5417\u63d2\u56fe\" alt=\"vscode\u652f\u6301\u4e2d\u6587\u5417\u63d2\u56fe\" \/><\/p>\n<p><strong>Visual Studio Code (VSCode)\u652f\u6301\u4e2d\u6587\u5417\uff1f<\/strong><\/p>\n<p>\u7b54\u6848\uff1a<strong>\u662f\u7684<\/strong>\u3002VSCode \u652f\u6301\u4e2d\u6587\uff0c\u5e76\u63d0\u4f9b\u4e86\u5168\u9762\u7684\u4e2d\u6587\u672c\u5730\u5316\u754c\u9762\u548c\u6587\u6863\u3002<\/p>\n<p><strong>\u8be6\u7ec6\u8bf4\u660e\uff1a<\/strong><\/p>\n<p>VSCode \u662f\u4e00\u4e2a\u8de8\u5e73\u53f0\u7684\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u62e5\u6709\u5e9e\u5927\u7684\u7528\u6237\u7fa4\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e2d\u56fd\u7528\u6237\u7684\u9700\u6c42\uff0cVSCode \u56e2\u961f\u5f00\u53d1\u4e86\u4e2d\u6587\u672c\u5730\u5316\u7248\u672c\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e86\u4ee5\u4e0b\u4f18\u52bf\uff1a<\/p>\n<ul>\n<li> <strong>\u4e2d\u6587\u754c\u9762\uff1a<\/strong> VSCode \u7684\u6574\u4e2a\u754c\u9762\uff0c\u5305\u62ec\u83dc\u5355\u3001\u5de5\u5177\u680f\u548c\u7f16\u8f91\u5668\uff0c\u90fd\u5df2\u7ffb\u8bd1\u4e3a\u4e2d\u6587\uff0c\u4e3a\u8bf4\u4e2d\u6587\u7684\u7528\u6237\u63d0\u4f9b\u4e86\u66f4\u53cb\u597d\u7684\u4f7f\u7528\u4f53\u9a8c\u3002<\/li>\n<li> <strong>\u4e2d\u6587\u6587\u6863\uff1a<\/strong> VSCode \u7684\u5b98\u65b9\u6587\u6863\u5df2\u7ffb\u8bd1\u4e3a\u4e2d\u6587\uff0c\u65b9\u4fbf\u7528\u6237\u5feb\u901f\u67e5\u627e\u548c\u7406\u89e3\u5176\u529f\u80fd\u548c\u4f7f\u7528\u65b9\u6cd5\u3002<\/li>\n<li> <strong>\u4e2d\u6587\u793e\u533a\u652f\u6301\uff1a<\/strong> VSCode \u62e5\u6709\u4e00\u4e2a\u6d3b\u8dc3\u7684\u4e2d\u6587\u793e\u533a\uff0c\u7528\u6237\u53ef\u4ee5\u5728\u5176\u4e2d\u83b7\u53d6\u5e2e\u52a9\u3001\u53c2\u4e0e\u8ba8\u8bba\u5e76\u5206\u4eab\u8d44\u6e90\u3002<\/li>\n<\/ul>\n<p><strong>\u542f\u7528\u4e2d\u6587\u754c\u9762\uff1a<\/strong><\/p>\n<p>\u8981\u542f\u7528 VSCode \u7684\u4e2d\u6587\u754c\u9762\uff0c\u8bf7\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u64cd\u4f5c\uff1a<\/p>\n<ol>\n<li>\u6253\u5f00 VSCode\u3002<\/li>\n<li>\u8f6c\u5230\u201c\u6587\u4ef6\u201d&gt;\u201c\u9996\u9009\u9879\u201d&gt;\u201c\u8bbe\u7f6e\u201d\u3002<\/li>\n<li>\u5728\u641c\u7d22\u6846\u4e2d\u8f93\u5165\u201clocale\u201d\u3002<\/li>\n<li>\u5c06 &#8220;locale&#8221; \u8bbe\u7f6e\u66f4\u6539\u4e3a &#8220;zh-CN&#8221;\u3002<\/li>\n<li>\u91cd\u542f VSCode \u4f7f\u66f4\u6539\u751f\u6548\u3002<\/li>\n<\/ol>\n<p>\u542f\u7528\u4e2d\u6587\u754c\u9762\u540e\uff0cVSCode \u7684\u6240\u6709\u754c\u9762\u5185\u5bb9\u90fd\u5c06\u663e\u793a\u4e3a\u4e2d\u6587\u3002\u5982\u679c\u60a8\u60f3\u968f\u65f6\u6062\u590d\u5230\u82f1\u6587\u754c\u9762\uff0c\u53ea\u9700\u5c06 &#8220;locale&#8221; \u8bbe\u7f6e\u66f4\u6539\u56de &#8220;en-US&#8221; \u5373\u53ef\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u652f\u6301\u4e2d\u6587\u5417\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>\u662f\u7684\uff0cvisual studio code (vscode) \u652f\u6301\u4e2d\u6587\uff0c\u5e76\u63d0\u4f9b\u4e2d\u6587\u672c\u5730\u5316\u754c\u9762\u3001\u6587\u6863\u548c\u793e\u533a\u652f\u6301\u3002\u8981\u542f\u7528\u4e2d\u6587\u754c\u9762\uff0c\u53ef\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u8bbe\u7f6e\uff1a 1. \u6253\u5f00 vscode\uff1b 2. \u8f6c\u5230\u201c\u6587\u4ef6\u201d&gt;\u201c\u9996\u9009\u9879\u201d&gt;\u201c\u8bbe\u7f6e\u201d\uff1b 3. \u641c\u7d22\u5e76\u66f4\u6539 \u201clocale\u201d \u8bbe\u7f6e\u4e3a \u201czh-cn\u201d\uff1b 4. \u91cd\u542f vscode\u3002 Visual Studio Code (VSCode)\u652f\u6301\u4e2d\u6587\u5417\uff1f \u7b54\u6848\uff1a\u662f\u7684\u3002VSCode \u652f\u6301\u4e2d\u6587\uff0c\u5e76\u63d0\u4f9b\u4e86\u5168\u9762\u7684\u4e2d\u6587\u672c\u5730\u5316\u754c\u9762\u548c\u6587\u6863\u3002 \u8be6\u7ec6\u8bf4\u660e\uff1a VSCode \u662f\u4e00\u4e2a\u8de8\u5e73\u53f0\u7684\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u62e5\u6709\u5e9e\u5927\u7684\u7528\u6237\u7fa4\u3002\u4e3a\u4e86\u6ee1\u8db3\u4e2d\u56fd\u7528\u6237\u7684\u9700\u6c42\uff0cVSCode \u56e2\u961f\u5f00\u53d1\u4e86\u4e2d\u6587\u672c\u5730\u5316\u7248\u672c\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u4e86\u4ee5\u4e0b\u4f18\u52bf\uff1a \u4e2d\u6587\u754c\u9762\uff1a VSCode \u7684\u6574\u4e2a\u754c\u9762\uff0c\u5305\u62ec\u83dc\u5355\u3001\u5de5\u5177\u680f\u548c\u7f16\u8f91\u5668\uff0c\u90fd\u5df2\u7ffb\u8bd1\u4e3a\u4e2d\u6587\uff0c\u4e3a\u8bf4\u4e2d\u6587\u7684\u7528\u6237\u63d0\u4f9b\u4e86\u66f4\u53cb\u597d\u7684\u4f7f\u7528\u4f53\u9a8c\u3002 \u4e2d\u6587\u6587\u6863\uff1a VSCode \u7684\u5b98\u65b9\u6587\u6863\u5df2\u7ffb\u8bd1\u4e3a\u4e2d\u6587\uff0c\u65b9\u4fbf\u7528\u6237\u5feb\u901f\u67e5\u627e\u548c\u7406\u89e3\u5176\u529f\u80fd\u548c\u4f7f\u7528\u65b9\u6cd5\u3002 \u4e2d\u6587\u793e\u533a\u652f\u6301\uff1a VSCode \u62e5\u6709\u4e00\u4e2a\u6d3b\u8dc3\u7684\u4e2d\u6587\u793e\u533a\uff0c\u7528\u6237\u53ef\u4ee5\u5728\u5176\u4e2d\u83b7\u53d6\u5e2e\u52a9\u3001\u53c2\u4e0e\u8ba8\u8bba\u5e76\u5206\u4eab\u8d44\u6e90\u3002 \u542f\u7528\u4e2d\u6587\u754c\u9762\uff1a \u8981\u542f\u7528 VSCode \u7684\u4e2d\u6587\u754c\u9762\uff0c\u8bf7\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u64cd\u4f5c\uff1a \u6253\u5f00 VSCode\u3002 \u8f6c\u5230\u201c\u6587\u4ef6\u201d&gt;\u201c\u9996\u9009\u9879\u201d&gt;\u201c\u8bbe\u7f6e\u201d\u3002 \u5728\u641c\u7d22\u6846\u4e2d\u8f93\u5165\u201clocale\u201d\u3002 \u5c06 &#8220;locale&#8221; \u8bbe\u7f6e\u66f4\u6539\u4e3a &#8220;zh-CN&#8221;\u3002 \u91cd\u542f VSCode \u4f7f\u66f4\u6539\u751f\u6548\u3002 \u542f\u7528\u4e2d\u6587\u754c\u9762\u540e\uff0cVSCode \u7684\u6240\u6709\u754c\u9762\u5185\u5bb9\u90fd\u5c06\u663e\u793a\u4e3a\u4e2d\u6587\u3002\u5982\u679c\u60a8\u60f3\u968f\u65f6\u6062\u590d\u5230\u82f1\u6587\u754c\u9762\uff0c\u53ea\u9700\u5c06 &#8220;locale&#8221; [&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-21684","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/21684","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=21684"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/21684\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=21684"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=21684"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=21684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}