{"id":10005981,"date":"2022-07-22T11:57:26","date_gmt":"2022-07-22T03:57:26","guid":{"rendered":"https:\/\/ityet.com\/?p=10005981"},"modified":"2022-07-22T11:57:26","modified_gmt":"2022-07-22T03:57:26","slug":"%e6%ad%a3%e5%bc%8f%e5%8f%91%e5%b8%83%e4%b8%a8visual-studio-code-1-68","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10005981","title":{"rendered":"\u6b63\u5f0f\u53d1\u5e03\u4e28Visual Studio Code 1.68"},"content":{"rendered":"<p>\u6b22\u8fce\u4f7f\u75285 \u6708\u53d1\u5e03\u7684 Visual Studio Code\uff0c\u672c\u6b21\u53d1\u5e03\u7684\u4eae\u70b9\u5982\u4e0b\uff1a<\/p>\n<p>\u258cConfigure Display Language<br \/>Configure Display Language\u547d\u4ee4\u5df2\u66f4\u65b0\u4e3a\u5305\u62ec\uff1a<\/p>\n<ul>\n<li>\u8be5\u8bed\u8a00\u7684\u8bed\u8a00\u540d\u79f0\u3002<\/li>\n<li>Available languages\u663e\u793a\u60a8\u7684\u8ba1\u7b97\u673a\u4e0a\u672a\u5b89\u88c5\u54ea\u4e9b\u8bed\u8a00\uff0c\u60a8\u9009\u62e9\u4e00\u79cd\u8bed\u8a00\uff0c\u5c06\u81ea\u52a8\u5b89\u88c5\u5e76\u5e94\u7528\u3002<br \/><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc0lCY\" alt=\"\" title=\"\" loading=\"lazy\" ><\/li>\n<\/ul>\n<p>\u258c\u95ee\u9898\u9762\u677f\u8868\u683c\u89c6\u56fe<\/p>\n<p>\u6211\u4eec\u4e3a\u7528\u6237\u6dfb\u52a0\u4e86\u4e00\u9879\u65b0\u529f\u80fd\uff0c\u53ef\u4ee5\u5728\u6811\u548c\u8868\u683c\u4e4b\u95f4\u5207\u6362\u95ee\u9898\u9762\u677f\u7684\u89c6\u56fe\u6a21\u5f0f\u3002\u4e0e\u6811\u5f62\u89c6\u56fe\u76f8\u6bd4\uff0c\u8868\u683c\u663e\u793a\u4e86\u6bcf\u4e2a\u95ee\u9898\u7684\u6765\u6e90\uff08\u8bed\u8a00\u670d\u52a1\u6216\u6269\u5c55\uff09\uff0c\u5141\u8bb8\u7528\u6237\u6309\u6765\u6e90\u8fc7\u6ee4\u95ee\u9898\u3002<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc0lCZ\" alt=\"\" title=\"\" loading=\"lazy\" ><br \/>\u60a8\u53ef\u4ee5\u4f7f\u7528\u95ee\u9898\u9762\u677f\u53f3\u4e0a\u89d2\u7684 \u201c View as Table\/View as Tree \u201d \u6309\u94ae\u5207\u6362\u89c6\u56fe UI\uff0c\u6216\u4f7f\u7528 \u201c Problems: Default View Mode \u201d \u8bbe\u7f6e\u66f4\u6539\u9ed8\u8ba4\u89c6\u56fe\u6a21\u5f0f\u3002<\/p>\n<p>\u258c\u4e0d\u63a8\u8350\u4f7f\u7528\u7684\u6269\u5c55<\/p>\n<p>\u4e00\u4e2a\u6269\u5c55\u53ef\u4ee5\u88ab\u5f03\u7528\u3001\u4e3a\u652f\u6301\u53e6\u4e00\u4e2a\u6269\u5c55\u6216\u8005\u5f53\u5b83\u7684\u529f\u80fd\u5185\u7f6e\u5230 VS Code \u4e2d\u65f6\u800c\u5f03\u7528\u3002VS Code \u5c06\u5728 Extensions \u89c6\u56fe\u4e2d\u5448\u73b0\u5df2\u5f03\u7528\u7684\u6269\u5c55\uff0c\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<ul>\n<li>\u4e0d\u518d\u88ab\u7ef4\u62a4\u7684\u5df2\u5f03\u7528\u6269\u5c55\u3002<br \/><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc0lC0\" alt=\"\" title=\"\" loading=\"lazy\" ><\/li>\n<li>\u5f53\u4e00\u4e2a\u6269\u5c55\u4e3a\u652f\u6301\u53e6\u4e00\u4e2a\u6269\u5c55\u800c\u5f03\u7528\u65f6\uff0cVS Code \u4e0d\u5141\u8bb8\u7528\u6237\u5b89\u88c5\u8fd9\u4e2a\u6269\u5c55\u3002<br \/><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc0lC1\" alt=\"\" title=\"\" loading=\"lazy\" ><\/li>\n<li>\u5f53\u4e00\u4e2a\u5df2\u5f03\u7528\u7684\u6269\u5c55\u7684\u529f\u80fd\u5185\u7f6e\u4e8e VS Code\uff0c\u53ef\u901a\u8fc7\u914d\u7f6e\u8bbe\u7f6e\u542f\u7528\u3002<br \/><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc0lC2\" alt=\"\" title=\"\" loading=\"lazy\" ><\/li>\n<\/ul>\n<p>VS Code \u4e0d\u4f1a\u81ea\u52a8\u8fc1\u79fb\u6216\u5378\u8f7d\u5df2\u5f03\u7528\u7684\u6269\u5c55\uff0c\u4f1a\u6709\u4e00\u4e2a\u8fc1\u79fb\u6309\u94ae\u6765\u6307\u5bfc\u60a8\u5207\u6362\u5230\u63a8\u8350\u7684\u6269\u5c55\u3002<br \/><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc0lC3\" alt=\"\" title=\"\" loading=\"lazy\" ><\/p>\n<p>\u258c\u6269\u5c55\u8d5e\u52a9<\/p>\n<p>\u6211\u4eec\u73b0\u5728\u5141\u8bb8\u7528\u6237\u8d5e\u52a9\u81ea\u5df1\u559c\u6b22\u7684\u6269\u5c55\u3002\u5982\u679c\u4e00\u4e2a\u6269\u5c55\u53ef\u4ee5\u88ab\u8d5e\u52a9\uff0cVS Code \u5c06\u5728 Extensions view Details \u9875\u9762\u4e2d\u5448\u73b0\u4e00\u4e2a Sponsor \u6309\u94ae\uff0c\u5982\u4e0b\u6240\u793a\uff1a<br \/><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc0lC4\" alt=\"\" title=\"\" loading=\"lazy\" ><\/p>\n<p>\u258c\u4f7f\u7528 .gitignore \u9690\u85cf\u8d44\u6e90\u7ba1\u7406\u5668\u6587\u4ef6<br \/>File Explorer\u73b0\u5728\u652f\u6301\u89e3\u6790\u548c\u9690\u85cf .gitignore \u6587\u4ef6\u6392\u9664\u7684\u6587\u4ef6\u3002\u8fd9\u53ef\u4ee5\u901a\u8fc7 Explorer: Exclude Git Ignore (explorer.excludeGitIgnore) \u8bbe\u7f6e\u6765\u542f\u7528\u3002\u6b64\u8bbe\u7f6e\u4e0e files.exclude \u4e00\u8d77\u4f7f\u7528\uff0c\u6765\u9690\u85cf\u8d44\u6e90\u7ba1\u7406\u5668\u4e2d\u4e0d\u9700\u8981\u7684\u6587\u4ef6\u3002<\/p>\n<p>\u258cGit \u5206\u652f\u4fdd\u62a4<br \/>\u4f7f\u7528\u65b0\u7684 git.branchProtection \u8bbe\u7f6e\uff0c\u60a8\u53ef\u4ee5\u914d\u7f6e\u8981\u4fdd\u62a4\u7684\u5206\u652f\u3002VS Code \u907f\u514d\u76f4\u63a5\u5728\u53d7\u4fdd\u62a4\u7684\u5206\u652f\u4e0acommit\uff0c\u800c\u662f\u8ba9\u60a8\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5206\u652f\u6765commit\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528 git.branchProtectionPrompt \u8bbe\u7f6e\u8fdb\u884c\u5fae\u8c03\u3002<\/p>\n<p>\u258cTypeScript Go to Source Definition<br \/>JavaScript\uff08\u5c24\u5176\u662f\u8bb8\u591a\u5e93\u63d0\u4f9b\u7684\u7f16\u8bd1\u540e\u7684 JavaScript\uff09\u6bd4 .d.ts \u66f4\u96be\u5206\u6790\u3002\u5c1d\u8bd5\u5206\u6790 node_modules \u4e0b\u7684\u6240\u6709 JavaScript \u4ee3\u7801\u901f\u5ea6\u8f83\u6162\uff0c\u53c8\u4f1a\u589e\u52a0\u5185\u5b58\u4f7f\u7528\u91cf\uff0c\u5e76\u4e14\u8fd8\u6709\u8bb8\u591a VS Code IntelliSense \u5f15\u64ce\u65e0\u6cd5\u7406\u89e3\u7684 JavaScript \u6a21\u5f0f\u3002<\/p>\n<p>\u8fd9\u5c31\u662f\u65b0\u7684 Go to Source Definition \u547d\u4ee4\u7684\u7528\u6b66\u4e4b\u5730\u3002\u5f53\u60a8\u4ece\u7f16\u8f91\u5668\u4e0a\u4e0b\u6587\u83dc\u5355\u6216\u547d\u4ee4\u9762\u677f\u8fd0\u884c\u6b64\u547d\u4ee4\u65f6\uff0cTypeScript \u5c06\u5c1d\u8bd5\u8ddf\u8e2a\u7b26\u53f7\u7684 JavaScript \u5b9e\u73b0\u5e76\u5bfc\u822a\u5230\u5b83\u3002<br \/><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc0lC5\" alt=\"\" title=\"\" loading=\"lazy\" ><\/p>\n<p>\u258cVS Code for the Web\u672c\u5730\u5316<br \/>\u5bf9\u4e8e VS Code for the Web\uff0c\u6211\u4eec\u51b3\u5b9a\u91c7\u7528\u4e00\u79cd\u66f4\u7b26\u5408\u5f53\u4e0b Web \u5de5\u4f5c\u65b9\u5f0f\u7684\u65b9\u6cd5\u3002\u5bf9\u4e8e\u628a\u6d4f\u89c8\u5668\u8bed\u8a00\u8bbe\u7f6e\u4e3a\u6211\u4eec\u652f\u6301\u7684\u4e3b\u8981\u8bed\u8a00\u4e4b\u4e00\u7684\u7528\u6237\uff0cvscode.dev \u5c06\u81ea\u52a8\u7ffb\u8bd1\u3002\u6211\u4eec\u652f\u6301\u7684\u8bed\u8a00\u8bb0\u5f55\u5728 vscode-loc \u5b58\u50a8\u5e93\u4e2d\u3002<\/p>\n<p>\u4f8b\u5982\uff0c\u8981\u5728 Microsoft Edge \u4e2d\u914d\u7f6e\u663e\u793a\u8bed\u8a00\uff0c\u60a8\u53ef\u4ee5\u8fdb\u5165Settings &gt; Languages\uff1a<br \/><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc0lC7\" alt=\"\" title=\"\" loading=\"lazy\" ><\/p>\n<p>\u5728\u63a5\u4e0b\u6765\u7684\u51e0\u4e2a\u6708\u91cc\uff0c\u6211\u4eec\u5c06\u542f\u7528\u6269\u5c55\u7684\u672c\u5730\u5316\uff08\u5305\u62ec VS Code \u9644\u5e26\u7684\u548c\u4e0d\u9644\u5e26\u7684\u3002\u656c\u8bf7\u5173\u6ce8\uff01\uff09<\/p>\n<p>\u258c\u9884\u89c8\uff1aMarkdown \u94fe\u63a5\u9a8c\u8bc1<\/p>\n<p>\u5728\u4f7f\u7528 Markdown \u65f6\uff0c\u5f88\u5bb9\u6613\u9519\u8bef\u5730\u6dfb\u52a0\u65e0\u6548\u7684\u6587\u4ef6\u94fe\u63a5\u6216image\uff0c\u7136\u800c\uff0c\u60a8\u53ea\u80fd\u5728\u67e5\u770b Markdown \u9884\u89c8\u751a\u81f3\u53d1\u5e03\u540e\u624d\u53d1\u73b0\u8fd9\u4e9b\u9519\u8bef\u3002VS Code \u65b0\u7684 Markdown \u94fe\u63a5\u9a8c\u8bc1\u53ef\u4ee5\u5e2e\u52a9\u60a8\u6355\u6349\u8fd9\u4e9b\u9519\u8bef\u3002\u901a\u8fc7\u94fe\u63a5\u9a8c\u8bc1\uff0cVS Code \u5c06\u5206\u6790\u6307\u5411header\u3001image\u548c\u5176\u4ed6\u672c\u5730\u6587\u4ef6\u7684 Markdown \u94fe\u63a5\u3002\u65e0\u6548\u94fe\u63a5\u5c06\u62a5\u544a\u4e3a\u8b66\u544a\u6216\u9519\u8bef\u3002<br \/><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVc0lC8\" alt=\"\" title=\"\" loading=\"lazy\" ><\/p>\n<p><strong>\u70b9\u51fb<a href=\"https:\/\/link.segmentfault.com\/?enc=UHexb%2BkMc%2FzlYXTldgnV2A%3D%3D.KhiACxohmPvx%2FZCgkQ4BhDeSCaVv7LnMLwKvTPfpPobnQzupTP2M1Vr13%2FOSdSpbhNEqfmhtBea4IlbsVXVq4MyuhW57o15ArstZunvxZQMmgECZTk0MueZc1BtCiWc5\" rel=\"nofollow\">\u67e5\u770b\u539f\u535a\u5ba2<\/a>~<\/strong><\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000041989813\">https:\/\/segmentfault.com\/a\/1190000041989813<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6b22\u8fce\u4f7f\u75285 \u6708\u53d1\u5e03\u7684 Visual Studio Code\uff0c\u672c\u6b21\u53d1\u5e03\u7684\u4eae\u70b9\u5982\u4e0b\uff1a \u258cConfigure Dis [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[],"tags":[],"class_list":["post-10005981","post","type-post","status-publish","format-standard","hentry"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10005981","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10005981"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10005981\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10005981"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10005981"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10005981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}