{"id":21614,"date":"2024-11-19T08:00:20","date_gmt":"2024-11-19T00:00:20","guid":{"rendered":"https:\/\/fwq.ai\/blog\/21614\/"},"modified":"2024-11-19T08:00:20","modified_gmt":"2024-11-19T00:00:20","slug":"vscode%e5%a6%82%e4%bd%95%e8%ae%be%e7%bd%ae%e7%bc%96%e7%a0%81%e6%a0%bc%e5%bc%8f","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/21614\/","title":{"rendered":"vscode\u5982\u4f55\u8bbe\u7f6e\u7f16\u7801\u683c\u5f0f"},"content":{"rendered":"<blockquote><p>\n  \u53ef\u5728 visual studio code \u4e2d\u914d\u7f6e\u7f16\u7801\u683c\u5f0f\uff0c\u5177\u4f53\u6b65\u9aa4\u5982\u4e0b\uff1a\u70b9\u51fb\u201c\u6587\u4ef6\u201d\u83dc\u5355\u3002\u8f6c\u5230\u201c\u9996\u9009\u9879\u201d\u3002\u5bfc\u822a\u5230\u201c\u8bbe\u7f6e\u201d\u3002\u641c\u7d22\u201c\u7f16\u7801\u201d\u3002\u914d\u7f6e\u201c\u6587\u4ef6\u7f16\u7801\u201d\u3002\u9009\u62e9\u7f16\u7801\u683c\u5f0f\u3002\u4fdd\u5b58\u8bbe\u7f6e\u3002\u9a8c\u8bc1\u8bbe\u7f6e\u4ee5\u786e\u4fdd\u5df2\u6b63\u786e\u8bbe\u7f6e\u7f16\u7801\u683c\u5f0f\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202406\/07\/2024060707181762421.jpg\" class=\"aligncenter\" title=\"vscode\u5982\u4f55\u8bbe\u7f6e\u7f16\u7801\u683c\u5f0f\u63d2\u56fe\" alt=\"vscode\u5982\u4f55\u8bbe\u7f6e\u7f16\u7801\u683c\u5f0f\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u8bbe\u7f6e Visual Studio Code \u4e2d\u7684\u7f16\u7801\u683c\u5f0f<\/strong><\/p>\n<p><strong>\u7b2c\u4e00\u6b65\uff1a\u6253\u5f00\u201c\u6587\u4ef6\u201d\u83dc\u5355<\/strong><\/p>\n<p>\u542f\u52a8 Visual Studio Code\uff0c\u70b9\u51fb\u83dc\u5355\u680f\u6700\u5de6\u7aef\u7684\u201c\u6587\u4ef6\u201d\u9009\u9879\u3002<\/p>\n<p><strong>\u7b2c\u4e8c\u6b65\uff1a\u8f6c\u5230\u201c\u9996\u9009\u9879\u201d<\/strong><\/p>\n<p>\u5728\u4e0b\u62c9\u83dc\u5355\u4e2d\uff0c\u9009\u62e9\u201c\u9996\u9009\u9879\u201d\uff0c\u6216\u8005\u6309\u5feb\u6377\u952e Ctrl\/Cmd + ,\uff08\u9017\u53f7\uff09\u3002<\/p>\n<p><strong>\u7b2c\u4e09\u6b65\uff1a\u5bfc\u822a\u5230\u201c\u8bbe\u7f6e\u201d<\/strong><\/p>\n<p>\u5728\u5de6\u4fa7\u680f\u4e2d\uff0c\u70b9\u51fb\u201c\u8bbe\u7f6e\u201d\u9f7f\u8f6e\u56fe\u6807\u3002<\/p>\n<p><strong>\u7b2c\u56db\u6b65\uff1a\u641c\u7d22\u201c\u7f16\u7801\u201d<\/strong><\/p>\n<p>\u5728\u201c\u8bbe\u7f6e\u201d\u641c\u7d22\u680f\u4e2d\uff0c\u8f93\u5165\u201c\u7f16\u7801\u201d\u4ee5\u67e5\u627e\u76f8\u5173\u8bbe\u7f6e\u3002<\/p>\n<p><strong>\u7b2c\u4e94\u6b65\uff1a\u914d\u7f6e\u201c\u6587\u4ef6\u7f16\u7801\u201d<\/strong><\/p>\n<p>\u627e\u5230\u201c\u6587\u4ef6\u7f16\u7801\u201d\u8bbe\u7f6e\u5e76\u70b9\u51fb\u53f3\u4fa7\u7684\u8f93\u5165\u6846\u3002<\/p>\n<p><strong>\u7b2c\u516d\u6b65\uff1a\u9009\u62e9\u7f16\u7801\u683c\u5f0f<\/strong><\/p>\n<p>\u5728\u4e0b\u62c9\u83dc\u5355\u4e2d\uff0c\u9009\u62e9\u6240\u9700\u7684\u7f16\u7801\u683c\u5f0f\uff0c\u4f8b\u5982\u201cUTF-8\u201d\u6216\u201cUTF-16LE\u201d\u3002<\/p>\n<p><strong>\u7b2c\u4e03\u6b65\uff1a\u4fdd\u5b58\u8bbe\u7f6e<\/strong><\/p>\n<p>\u5173\u95ed\u201c\u8bbe\u7f6e\u201d\u7a97\u53e3\uff0c\u60a8\u7684\u7f16\u7801\u683c\u5f0f\u8bbe\u7f6e\u5c06\u81ea\u52a8\u4fdd\u5b58\u3002<\/p>\n<p><strong>\u7b2c\u516b\u6b65\uff1a\u9a8c\u8bc1\u8bbe\u7f6e<\/strong><\/p>\n<p>\u6253\u5f00\u4e00\u4e2a\u6587\u672c\u6587\u4ef6\u5e76\u67e5\u770b\u7f16\u7801\u683c\u5f0f\u5df2\u6b63\u786e\u8bbe\u7f6e\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u9a8c\u8bc1\uff1a<\/p>\n<ul>\n<li> <strong>Windows:<\/strong> \u5728\u6587\u4ef6\u83dc\u5355\u4e2d\u9009\u62e9\u201c\u53e6\u5b58\u4e3a\u201d\u3002\u5728\u201c\u53e6\u5b58\u4e3a\u201d\u5bf9\u8bdd\u6846\u4e2d\uff0c\u7f16\u7801\u683c\u5f0f\u5c06\u663e\u793a\u5728\u6587\u4ef6\u540d\u4e0b\u65b9\u3002<\/li>\n<li> <strong>Mac:<\/strong> \u5728\u6587\u4ef6\u83dc\u5355\u4e2d\u9009\u62e9\u201c\u83b7\u53d6\u4fe1\u606f\u201d\u3002\u5728\u201c\u83b7\u53d6\u4fe1\u606f\u201d\u7a97\u53e3\u4e2d\uff0c\u7f16\u7801\u683c\u5f0f\u5c06\u663e\u793a\u5728\u201c\u66f4\u591a\u4fe1\u606f\u201d\u90e8\u5206\u4e2d\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5982\u4f55\u8bbe\u7f6e\u7f16\u7801\u683c\u5f0f\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\u5728 visual studio code \u4e2d\u914d\u7f6e\u7f16\u7801\u683c\u5f0f\uff0c\u5177\u4f53\u6b65\u9aa4\u5982\u4e0b\uff1a\u70b9\u51fb\u201c\u6587\u4ef6\u201d\u83dc\u5355\u3002\u8f6c\u5230\u201c\u9996\u9009\u9879\u201d\u3002\u5bfc\u822a\u5230\u201c\u8bbe\u7f6e\u201d\u3002\u641c\u7d22\u201c\u7f16\u7801\u201d\u3002\u914d\u7f6e\u201c\u6587\u4ef6\u7f16\u7801\u201d\u3002\u9009\u62e9\u7f16\u7801\u683c\u5f0f\u3002\u4fdd\u5b58\u8bbe\u7f6e\u3002\u9a8c\u8bc1\u8bbe\u7f6e\u4ee5\u786e\u4fdd\u5df2\u6b63\u786e\u8bbe\u7f6e\u7f16\u7801\u683c\u5f0f\u3002 \u5982\u4f55\u8bbe\u7f6e Visual Studio Code \u4e2d\u7684\u7f16\u7801\u683c\u5f0f \u7b2c\u4e00\u6b65\uff1a\u6253\u5f00\u201c\u6587\u4ef6\u201d\u83dc\u5355 \u542f\u52a8 Visual Studio Code\uff0c\u70b9\u51fb\u83dc\u5355\u680f\u6700\u5de6\u7aef\u7684\u201c\u6587\u4ef6\u201d\u9009\u9879\u3002 \u7b2c\u4e8c\u6b65\uff1a\u8f6c\u5230\u201c\u9996\u9009\u9879\u201d \u5728\u4e0b\u62c9\u83dc\u5355\u4e2d\uff0c\u9009\u62e9\u201c\u9996\u9009\u9879\u201d\uff0c\u6216\u8005\u6309\u5feb\u6377\u952e Ctrl\/Cmd + ,\uff08\u9017\u53f7\uff09\u3002 \u7b2c\u4e09\u6b65\uff1a\u5bfc\u822a\u5230\u201c\u8bbe\u7f6e\u201d \u5728\u5de6\u4fa7\u680f\u4e2d\uff0c\u70b9\u51fb\u201c\u8bbe\u7f6e\u201d\u9f7f\u8f6e\u56fe\u6807\u3002 \u7b2c\u56db\u6b65\uff1a\u641c\u7d22\u201c\u7f16\u7801\u201d \u5728\u201c\u8bbe\u7f6e\u201d\u641c\u7d22\u680f\u4e2d\uff0c\u8f93\u5165\u201c\u7f16\u7801\u201d\u4ee5\u67e5\u627e\u76f8\u5173\u8bbe\u7f6e\u3002 \u7b2c\u4e94\u6b65\uff1a\u914d\u7f6e\u201c\u6587\u4ef6\u7f16\u7801\u201d \u627e\u5230\u201c\u6587\u4ef6\u7f16\u7801\u201d\u8bbe\u7f6e\u5e76\u70b9\u51fb\u53f3\u4fa7\u7684\u8f93\u5165\u6846\u3002 \u7b2c\u516d\u6b65\uff1a\u9009\u62e9\u7f16\u7801\u683c\u5f0f \u5728\u4e0b\u62c9\u83dc\u5355\u4e2d\uff0c\u9009\u62e9\u6240\u9700\u7684\u7f16\u7801\u683c\u5f0f\uff0c\u4f8b\u5982\u201cUTF-8\u201d\u6216\u201cUTF-16LE\u201d\u3002 \u7b2c\u4e03\u6b65\uff1a\u4fdd\u5b58\u8bbe\u7f6e \u5173\u95ed\u201c\u8bbe\u7f6e\u201d\u7a97\u53e3\uff0c\u60a8\u7684\u7f16\u7801\u683c\u5f0f\u8bbe\u7f6e\u5c06\u81ea\u52a8\u4fdd\u5b58\u3002 \u7b2c\u516b\u6b65\uff1a\u9a8c\u8bc1\u8bbe\u7f6e \u6253\u5f00\u4e00\u4e2a\u6587\u672c\u6587\u4ef6\u5e76\u67e5\u770b\u7f16\u7801\u683c\u5f0f\u5df2\u6b63\u786e\u8bbe\u7f6e\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u5f0f\u9a8c\u8bc1\uff1a Windows: \u5728\u6587\u4ef6\u83dc\u5355\u4e2d\u9009\u62e9\u201c\u53e6\u5b58\u4e3a\u201d\u3002\u5728\u201c\u53e6\u5b58\u4e3a\u201d\u5bf9\u8bdd\u6846\u4e2d\uff0c\u7f16\u7801\u683c\u5f0f\u5c06\u663e\u793a\u5728\u6587\u4ef6\u540d\u4e0b\u65b9\u3002 Mac: \u5728\u6587\u4ef6\u83dc\u5355\u4e2d\u9009\u62e9\u201c\u83b7\u53d6\u4fe1\u606f\u201d\u3002\u5728\u201c\u83b7\u53d6\u4fe1\u606f\u201d\u7a97\u53e3\u4e2d\uff0c\u7f16\u7801\u683c\u5f0f\u5c06\u663e\u793a\u5728\u201c\u66f4\u591a\u4fe1\u606f\u201d\u90e8\u5206\u4e2d\u3002 \u4ee5\u4e0a\u5c31\u662f\u5982\u4f55\u8bbe\u7f6e\u7f16\u7801\u683c\u5f0f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/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-21614","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/21614","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=21614"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/21614\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=21614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=21614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=21614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}