{"id":20493,"date":"2024-11-19T15:37:12","date_gmt":"2024-11-19T07:37:12","guid":{"rendered":"https:\/\/fwq.ai\/blog\/20493\/"},"modified":"2024-11-19T15:37:12","modified_gmt":"2024-11-19T07:37:12","slug":"vscode%e8%ae%be%e7%bd%ae%e4%b8%ad%e6%96%87%e4%b8%ba%e4%bb%80%e4%b9%88%e6%b2%a1%e5%87%ba%e7%8e%b0installed","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/20493\/","title":{"rendered":"vscode\u8bbe\u7f6e\u4e2d\u6587\u4e3a\u4ec0\u4e48\u6ca1\u51fa\u73b0installed"},"content":{"rendered":"<blockquote><p>\n  \u5f53\u5728 vs code \u4e2d\u627e\u4e0d\u5230\u5df2\u5b89\u88c5\u7684\u4e2d\u6587\u8bed\u8a00\u5305\u65f6\uff0c\u539f\u56e0\u53ef\u80fd\u5305\u62ec\uff1a\u9519\u8bef\u7684\u6269\u5c55\u540d\uff08.loc\uff09\uff1b\u9519\u8bef\u7684\u7248\u672c\uff1b\u5b89\u88c5\u8def\u5f84\u4e0d\u6b63\u786e\uff1b\u672a\u91cd\u65b0\u542f\u52a8 vs code\uff1b\u6269\u5c55\u72b6\u6001\u672a\u542f\u7528\uff1b\u5378\u8f7d\u5e76\u91cd\u65b0\u5b89\u88c5\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/03\/2024040301211989855.jpg\" class=\"aligncenter\" title=\"vscode\u8bbe\u7f6e\u4e2d\u6587\u4e3a\u4ec0\u4e48\u6ca1\u51fa\u73b0installed\u63d2\u56fe\" alt=\"vscode\u8bbe\u7f6e\u4e2d\u6587\u4e3a\u4ec0\u4e48\u6ca1\u51fa\u73b0installed\u63d2\u56fe\" \/><\/p>\n<p><strong>VS Code \u4e2d\u627e\u4e0d\u5230\u5df2\u5b89\u88c5\u7684\u4e2d\u6587\u8bed\u8a00\u5305<\/strong><\/p>\n<p>\u5f53\u5728 Visual Studio Code\uff08VS Code\uff09\u4e2d\u5c1d\u8bd5\u5b89\u88c5\u4e2d\u6587\u8bed\u8a00\u5305\u65f6\uff0c\u4f46\u5b89\u88c5\u5b8c\u6210\u540e\u4ecd\u7136\u627e\u4e0d\u5230\u8be5\u8bed\u8a00\u5305\uff0c\u53ef\u80fd\u662f\u7531\u4e8e\u4ee5\u4e0b\u539f\u56e0\uff1a<\/p>\n<p><strong>1. \u4f7f\u7528\u4e86\u9519\u8bef\u7684\u6269\u5c55\u540d<\/strong><\/p>\n<p>VS Code \u4e2d\u7684\u4e2d\u6587\u8bed\u8a00\u5305\u6269\u5c55\u540d\u5e94\u4e3a .loc\uff0c\u786e\u4fdd\u4e0b\u8f7d\u7684\u6269\u5c55\u540d\u6b63\u786e\u3002<\/p>\n<p><strong>2. \u5b89\u88c5\u4e86\u9519\u8bef\u7684\u7248\u672c<\/strong><\/p>\n<p>VS Code \u7684\u4e0d\u540c\u7248\u672c\u53ef\u80fd\u9700\u8981\u4e0d\u540c\u7684\u8bed\u8a00\u5305\u7248\u672c\u3002\u8bf7\u786e\u8ba4\u4e0b\u8f7d\u7684\u8bed\u8a00\u5305\u9002\u7528\u4e8e\u4f60\u5f53\u524d\u7684 VS Code \u7248\u672c\u3002<\/p>\n<p><strong>3. \u8bed\u8a00\u5305\u4f4d\u7f6e\u4e0d\u6b63\u786e<\/strong><\/p>\n<p>VS Code \u7684\u8bed\u8a00\u5305\u901a\u5e38\u5b89\u88c5\u5728\u4ee5\u4e0b\u76ee\u5f55\uff1a<\/p>\n<ul>\n<li>Windows: %USERPROFILE%.extensions<\/li>\n<li>macOS: ~\/Library\/Application Support\/Code\/User\/extensions<\/li>\n<li>Linux: ~\/.config\/Code\/User\/extensions<\/li>\n<\/ul>\n<p>\u8bf7\u68c0\u67e5\u8bed\u8a00\u5305\u662f\u5426\u5df2\u5b89\u88c5\u5728\u6b64\u76ee\u5f55\u4e2d\u3002<\/p>\n<p><strong>4. \u91cd\u65b0\u542f\u52a8 VS Code<\/strong><\/p>\n<p>\u5728\u5b89\u88c5\u65b0\u7684\u8bed\u8a00\u5305\u540e\uff0c\u9700\u8981\u91cd\u65b0\u542f\u52a8 VS Code \u624d\u80fd\u5c06\u5176\u52a0\u8f7d\u3002<\/p>\n<p><strong>5. \u68c0\u67e5\u6269\u5c55\u72b6\u6001<\/strong><\/p>\n<p>\u6253\u5f00 VS Code \u7684\u6269\u5c55\u9762\u677f\uff08Ctrl + Shift + X \u6216 Cmd + Shift + X\uff09\uff0c\u5728\u5df2\u5b89\u88c5\u7684\u6269\u5c55\u5217\u8868\u4e2d\u627e\u5230\u4e2d\u6587\u8bed\u8a00\u5305\uff0c\u67e5\u770b\u5176\u72b6\u6001\u662f\u5426\u4e3a\u5df2\u542f\u7528\u3002<\/p>\n<p><strong>6. \u5378\u8f7d\u5e76\u91cd\u65b0\u5b89\u88c5<\/strong><\/p>\n<p>\u5982\u679c\u4e0a\u8ff0\u65b9\u6cd5\u90fd\u4e0d\u594f\u6548\uff0c\u8bf7\u5c1d\u8bd5\u5378\u8f7d\u73b0\u6709\u7684\u4e2d\u6587\u8bed\u8a00\u5305\uff0c\u7136\u540e\u4ece\u5b98\u65b9\u5e02\u573a\u91cd\u65b0\u5b89\u88c5\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u8bbe\u7f6e\u4e2d\u6587\u4e3a\u4ec0\u4e48\u6ca1\u51fa\u73b0installed\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>\u5f53\u5728 vs code \u4e2d\u627e\u4e0d\u5230\u5df2\u5b89\u88c5\u7684\u4e2d\u6587\u8bed\u8a00\u5305\u65f6\uff0c\u539f\u56e0\u53ef\u80fd\u5305\u62ec\uff1a\u9519\u8bef\u7684\u6269\u5c55\u540d\uff08.loc\uff09\uff1b\u9519\u8bef\u7684\u7248\u672c\uff1b\u5b89\u88c5\u8def\u5f84\u4e0d\u6b63\u786e\uff1b\u672a\u91cd\u65b0\u542f\u52a8 vs code\uff1b\u6269\u5c55\u72b6\u6001\u672a\u542f\u7528\uff1b\u5378\u8f7d\u5e76\u91cd\u65b0\u5b89\u88c5\u3002 VS Code \u4e2d\u627e\u4e0d\u5230\u5df2\u5b89\u88c5\u7684\u4e2d\u6587\u8bed\u8a00\u5305 \u5f53\u5728 Visual Studio Code\uff08VS Code\uff09\u4e2d\u5c1d\u8bd5\u5b89\u88c5\u4e2d\u6587\u8bed\u8a00\u5305\u65f6\uff0c\u4f46\u5b89\u88c5\u5b8c\u6210\u540e\u4ecd\u7136\u627e\u4e0d\u5230\u8be5\u8bed\u8a00\u5305\uff0c\u53ef\u80fd\u662f\u7531\u4e8e\u4ee5\u4e0b\u539f\u56e0\uff1a 1. \u4f7f\u7528\u4e86\u9519\u8bef\u7684\u6269\u5c55\u540d VS Code \u4e2d\u7684\u4e2d\u6587\u8bed\u8a00\u5305\u6269\u5c55\u540d\u5e94\u4e3a .loc\uff0c\u786e\u4fdd\u4e0b\u8f7d\u7684\u6269\u5c55\u540d\u6b63\u786e\u3002 2. \u5b89\u88c5\u4e86\u9519\u8bef\u7684\u7248\u672c VS Code \u7684\u4e0d\u540c\u7248\u672c\u53ef\u80fd\u9700\u8981\u4e0d\u540c\u7684\u8bed\u8a00\u5305\u7248\u672c\u3002\u8bf7\u786e\u8ba4\u4e0b\u8f7d\u7684\u8bed\u8a00\u5305\u9002\u7528\u4e8e\u4f60\u5f53\u524d\u7684 VS Code \u7248\u672c\u3002 3. \u8bed\u8a00\u5305\u4f4d\u7f6e\u4e0d\u6b63\u786e VS Code \u7684\u8bed\u8a00\u5305\u901a\u5e38\u5b89\u88c5\u5728\u4ee5\u4e0b\u76ee\u5f55\uff1a Windows: %USERPROFILE%.extensions macOS: ~\/Library\/Application Support\/Code\/User\/extensions Linux: ~\/.config\/Code\/User\/extensions \u8bf7\u68c0\u67e5\u8bed\u8a00\u5305\u662f\u5426\u5df2\u5b89\u88c5\u5728\u6b64\u76ee\u5f55\u4e2d\u3002 4. \u91cd\u65b0\u542f\u52a8 VS Code \u5728\u5b89\u88c5\u65b0\u7684\u8bed\u8a00\u5305\u540e\uff0c\u9700\u8981\u91cd\u65b0\u542f\u52a8 VS Code \u624d\u80fd\u5c06\u5176\u52a0\u8f7d\u3002 5. \u68c0\u67e5\u6269\u5c55\u72b6\u6001 \u6253\u5f00 VS Code \u7684\u6269\u5c55\u9762\u677f\uff08Ctrl [&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-20493","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20493","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=20493"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20493\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=20493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=20493"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=20493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}