{"id":37075,"date":"2025-05-14T03:46:13","date_gmt":"2025-05-13T19:46:13","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/37075.html"},"modified":"2025-05-14T03:46:13","modified_gmt":"2025-05-13T19:46:13","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8%e5%a4%a7%e5%9e%8b%e9%a1%b9%e7%9b%ae%e4%b8%ad%e8%a7%a3%e5%86%b3-vscode-%e8%af%ad%e8%a8%80%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%b4%a9%e6%ba%83%e7%9a%84%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/37075.html","title":{"rendered":"\u5982\u4f55\u5728\u5927\u578b\u9879\u76ee\u4e2d\u89e3\u51b3 VsCode \u8bed\u8a00\u670d\u52a1\u5668\u5d29\u6e83\u7684\u95ee\u9898"},"content":{"rendered":"<p>\u5728\u5927\u578bC\/C&#043;&#043;\u9879\u76ee\u4e2d&#xff0c;VS Code\u7684\u8bed\u8a00\u670d\u52a1\u5668&#xff08;\u5982C\/C&#043;&#043;\u6269\u5c55&#xff09;\u53ef\u80fd\u56e0\u5185\u5b58\u4e0d\u8db3\u6216\u914d\u7f6e\u4e0d\u5f53\u9891\u7e41\u5d29\u6e83\u3002\u672c\u6587\u7ed3\u5408\u7cfb\u7edf\u8d44\u6e90\u5206\u6790\u4e0e\u5b9e\u6218\u6280\u5de7&#xff0c;\u63d0\u4f9b\u4e00\u5957\u5b8c\u6574\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u95ee\u9898\u6839\u6e90\u8bca\u65ad<\/h3>\n<h4>1.1 \u5185\u5b58\u74f6\u9888\u5206\u6790<\/h4>\n<p>\u901a\u8fc7top\u547d\u4ee4\u67e5\u770b\u7cfb\u7edf\u8d44\u6e90\u4f7f\u7528\u60c5\u51b5&#xff1a;<\/p>\n<p>MiB Mem: <span class=\"token number\">63879.8<\/span> total, <span class=\"token number\">4719.4<\/span> free, <span class=\"token number\">16888.5<\/span> used, <span class=\"token number\">42271.9<\/span> buff\/cache<br \/>\nMiB Swap: <span class=\"token number\">8192.0<\/span> total, <span class=\"token number\">1395.2<\/span> free, <span class=\"token number\">6796.8<\/span> used. <span class=\"token number\">46408.3<\/span> avail Mem<\/p>\n<p>\u2022 \u5173\u952e\u6307\u6807&#xff1a;45.3GB\u53ef\u7528\u5185\u5b58&#xff08;\u542b\u53ef\u56de\u6536\u7f13\u5b58&#xff09;\u4f46Swap\u7a7a\u95f4\u4f7f\u75286.7GB&#xff0c;\u8bf4\u660e\u7269\u7406\u5185\u5b58\u5df2\u8fc7\u8f7d<\/p>\n<p>\u2022 \u5178\u578b\u75c7\u72b6&#xff1a;\u8bed\u6cd5\u9ad8\u4eae\u5931\u6548\u3001\u4ee3\u7801\u63d0\u793a\u5ef6\u8fdf\u3001\u8bed\u8a00\u8fdb\u7a0b\u53cd\u590d\u91cd\u542f<\/p>\n<hr \/>\n<h3>\u4e8c\u30018\u5927\u89e3\u51b3\u65b9\u6848\u8be6\u89e3<\/h3>\n<h4>2.1 \u8c03\u6574VS Code\u5185\u5b58\u9650\u5236<\/h4>\n<p>\u6838\u5fc3\u914d\u7f6e&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string\">&#034;editor.maxTokenizationLineLength&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">40000<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string\">&#034;files.maxMemoryForLargeFilesMB&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">4096<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u2022 \u5c06\u5927\u6587\u4ef6\u5904\u7406\u5185\u5b58\u4e0a\u9650\u63d0\u5347\u81f34GB<\/p>\n<p>\u2022 \u652f\u6301\u8d85\u957f\u4ee3\u7801\u884c\u89e3\u6790&#xff08;\u9ed8\u8ba42\u4e07\u5b57\u7b26\u9650\u5236&#xff09;<\/p>\n<h4>2.2 \u4f18\u5316C\/C&#043;&#043;\u6269\u5c55\u914d\u7f6e<\/h4>\n<p>\u914d\u7f6e\u5efa\u8bae&#xff1a;<\/p>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string\">&#034;C_Cpp.default.maxMemoryUsage&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">4096<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string\">&#034;C_Cpp.intelliSenseEngine&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;Tag Parser&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string\">&#034;C_Cpp.autocomplete&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;Disabled&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string\">&#034;C_Cpp.indexerDatabaseSize&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">4096<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string\">&#034;C_Cpp.indexerThreadCount&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token number\">2<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u2022 \u4e3a\u8bed\u8a00\u670d\u52a1\u5668\u5206\u914d4GB\u4e13\u7528\u5185\u5b58<\/p>\n<p>\u2022 \u5173\u95ed\u5b9e\u65f6\u8bed\u4e49\u68c0\u67e5&#xff08;\u63d0\u534730%\u6027\u80fd&#xff09;<\/p>\n<p>\u2022 \u9650\u5236\u7d22\u5f15\u7ebf\u7a0b\u6570\u907f\u514d\u8d44\u6e90\u4e89\u62a2<\/p>\n<p>VsCode \u4fee\u6539\u914d\u7f6e\u64cd\u4f5c\u5b9e\u9645\u4f7f\u7528\u793a\u610f\u56fe <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250513194612-6823a184913f2.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>2.3 \u5de5\u7a0b\u6587\u4ef6\u7ed3\u6784\u4f18\u5316<\/h4>\n<p>\u2022 \u5206\u6cbb\u6cd5&#xff1a;\u5c06\u8d85\u8fc75000\u884c\u7684\u6587\u4ef6\u62c6\u5206\u4e3a\u591a\u4e2a\u6a21\u5757<\/p>\n<p>\u2022 \u5f15\u7528\u89c4\u8303&#xff1a;<\/p>\n<p><span class=\"token comment\">\/\/ data_processing.h<\/span><br \/>\n<span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">pragma<\/span> <span class=\"token expression\">once<\/span><\/span><br \/>\n<span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token directive keyword\">include<\/span> <span class=\"token string\">&#034;data_parser.h&#034;<\/span>  <span class=\"token comment\">\/\/ \u4fdd\u6301\u5c42\u7ea7\u6e05\u6670<\/span><\/span><\/p>\n<p><span class=\"token keyword\">class<\/span> <span class=\"token class-name\">DataProcessor<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token comment\">\/\/ \u6838\u5fc3\u903b\u8f91\u5206\u79bb<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<h4>2.4 \u8f7b\u91cf\u6a21\u5f0f\u5f3a\u5236\u542f\u7528<\/h4>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string\">&#034;files.largeFileOptimizations&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#034;always&#034;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u2022 \u5bf9\u8d85\u8fc710MB\u6587\u4ef6\u81ea\u52a8\u7981\u7528\u8bed\u6cd5\u68c0\u67e5<\/p>\n<p>\u2022 \u624b\u52a8\u89e6\u53d1&#xff1a;\u72b6\u6001\u680f\u70b9\u51fb\u300cLarge File Mode\u300d<\/p>\n<h4>2.5 \u6269\u5c55\u7ba1\u7406\u7b56\u7565<\/h4>\n<p>\u2022 \u7981\u7528\u51b2\u7a81\u6269\u5c55&#xff1a;Code Runner\u3001\u5b9e\u65f6\u534f\u4f5c\u5de5\u5177\u7b49<\/p>\n<p>\u2022 \u6309\u9700\u52a0\u8f7d&#xff1a;\u901a\u8fc7.code-workspace\u914d\u7f6e\u5de5\u4f5c\u533a\u4e13\u5c5e\u6269\u5c55<\/p>\n<h4>2.6 \u5185\u5b58\u6cc4\u6f0f\u6392\u67e5<\/h4>\n<p><span class=\"token function\">ps<\/span> aux <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> cpptools  <span class=\"token comment\"># \u76d1\u63a7\u8fdb\u7a0b\u5185\u5b58\u589e\u957f<\/span><br \/>\nvmmap <span class=\"token operator\">&lt;<\/span>PID<span class=\"token operator\">&gt;<\/span>            <span class=\"token comment\"># \u5206\u6790\u5185\u5b58\u5206\u914d\u8be6\u60c5<\/span><\/p>\n<p>\u2022 \u5b9a\u671f\u91cd\u542f\u8bed\u8a00\u670d\u52a1\u5668\u91ca\u653e\u6b8b\u7559\u5185\u5b58<\/p>\n<h4>2.7 \u65e5\u5fd7\u5206\u6790\u4e0e\u8c03\u8bd5<\/h4>\n<li>\u6253\u5f00Output\u9762\u677f \u2192 \u9009\u62e9\u300cC\/C&#043;&#043;\u300d\u65e5\u5fd7\u6d41<\/li>\n<li>\u641c\u7d22crash\/oom\u5173\u952e\u4e8b\u4ef6<\/li>\n<li>\u6355\u83b7\u6838\u5fc3\u8f6c\u50a8\u6587\u4ef6&#xff1a;<\/li>\n<p><span class=\"token builtin class-name\">ulimit<\/span> -c unlimited<br \/>\ncpptools &#8211;crash-dump-dir<span class=\"token operator\">&#061;<\/span>\/tmp<\/p>\n<h4>2.8 \u786c\u4ef6\u7ea7\u4f18\u5316<\/h4>\n<p>\u2022 \u8bbe\u7f6e\u4ea4\u6362\u7a7a\u95f4\u4f18\u5148\u7ea7&#xff1a;<\/p>\n<p>sysctl vm.swappiness<span class=\"token operator\">&#061;<\/span><span class=\"token number\">10<\/span>  <span class=\"token comment\"># \u964d\u4f4eSwap\u4f7f\u7528\u503e\u5411<\/span><\/p>\n<p>\u2022 \u542f\u7528Zswap\u538b\u7f29\u7f13\u5b58&#xff08;\u8282\u770140%\u5185\u5b58\u5360\u7528&#xff09;<\/p>\n<hr \/>\n<h3>\u4e09\u3001\u9884\u9632\u6027\u7ef4\u62a4\u65b9\u6848<\/h3>\n<h4>3.1 \u81ea\u52a8\u66f4\u65b0\u673a\u5236<\/h4>\n<p><span class=\"token comment\"># \u901a\u8fc7code\u547d\u4ee4\u914d\u7f6e\u81ea\u52a8\u66f4\u65b0<\/span><br \/>\ncode &#8211;install-extension ms-vscode.cpptools &#8211;force<\/p>\n<h4>3.2 \u5b9a\u671f\u5de5\u7a0b\u4f53\u68c0<\/h4>\n<p><span class=\"token punctuation\">{<\/span><br \/>\n  <span class=\"token string\">&#034;C_Cpp.codeAnalysis.runAutomatically&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token boolean\">false<\/span><span class=\"token punctuation\">,<\/span><br \/>\n  <span class=\"token string\">&#034;C_Cpp.codeAnalysis.queries&#034;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;-Wunused&#034;<\/span><span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u2022 \u7981\u7528\u975e\u5fc5\u8981\u9759\u6001\u68c0\u67e5<\/p>\n<p>\u2022 \u4f7f\u7528Clangd\u66ff\u4ee3\u65b9\u6848&#xff08;\u5185\u5b58\u6548\u7387\u63d0\u534750%&#xff09;<\/p>\n<hr \/>\n<h3>\u56db\u3001\u7ec8\u6781\u89e3\u51b3\u65b9\u6848<\/h3>\n<p>\u5f53\u4e0a\u8ff0\u65b9\u6cd5\u4ecd\u65e0\u6cd5\u89e3\u51b3\u65f6&#xff1a;<\/p>\n<li>\u5bb9\u5668\u5316\u5f00\u53d1&#xff1a;<\/li>\n<p>FROM ubuntu:22.04<br \/>\nRUN apt install cpptools-linux &amp;&amp; \\\\<br \/>\n    sysctl -w vm.overcommit_memory&#061;1<\/p>\n<p>\u2022 \u901a\u8fc7cgroups\u9650\u5236\u5185\u5b58\u7528\u91cf<\/p>\n<p>\u2022 \u542f\u7528\u5185\u5b58\u8d85\u5206\u914d\u7b56\u7565<\/p>\n<li>\u8fdc\u7a0b\u5f00\u53d1&#xff1a;\u4f7f\u7528VS Code Remote SSH\u8fde\u63a5\u9ad8\u914d\u670d\u52a1\u5668<\/li>\n<hr \/>\n<h3>\u4e94\u3001\u6848\u4f8b\u6548\u679c\u5bf9\u6bd4<\/h3>\n<table>\n<tr>\u4f18\u5316\u63aa\u65bd\u5185\u5b58\u5360\u7528\u4e0b\u964d\u54cd\u5e94\u901f\u5ea6\u63d0\u5347<\/tr>\n<tbody>\n<tr>\n<td>\u7981\u7528IntelliSense<\/td>\n<td>38%<\/td>\n<td>55%<\/td>\n<\/tr>\n<tr>\n<td>\u9650\u5236\u7d22\u5f15\u7ebf\u7a0b<\/td>\n<td>22%<\/td>\n<td>18%<\/td>\n<\/tr>\n<tr>\n<td>Clangd\u66ff\u4ee3\u65b9\u6848<\/td>\n<td>51%<\/td>\n<td>63%<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<p>\u901a\u8fc7\u591a\u7ef4\u5ea6\u8c03\u4f18\u7ec4\u5408&#xff0c;\u53ef\u4f7f\u8bed\u8a00\u670d\u52a1\u5668\u5728\u767e\u4e07\u884c\u7ea7\u4ee3\u7801\u5e93\u4e2d\u7a33\u5b9a\u8fd0\u884c\u3002\u5efa\u8bae\u91c7\u7528\u6e10\u8fdb\u5f0f\u4f18\u5316\u7b56\u7565&#xff0c;\u6301\u7eed\u76d1\u63a7cpptools\u5185\u5b58\u66f2\u7ebf\u4ee5\u9a8c\u8bc1\u6548\u679c\u3002\u9047\u5230\u7591\u96be\u95ee\u9898\u65f6&#xff0c;\u53ca\u65f6\u901a\u8fc7GitHub Issues\u63d0\u4ea4\u5b8c\u6574\u65e5\u5fd7\u548c\u5185\u5b58\u5feb\u7167\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb742\u6b21\uff0c\u70b9\u8d5e8\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u901a\u8fc7\u5206\u6790\u7cfb\u7edf\u5185\u5b58\u60c5\u51b5\uff0c\u6211\u4eec\u53ef\u4ee5\u91c7\u53d6\u5173\u95ed\u4e0d\u5fc5\u8981\u7684\u7a0b\u5e8f\u3001\u589e\u52a0\u7269\u7406\u5185\u5b58\u548c\u4f18\u5316\u7a0b\u5e8f\u7b49\u65b9\u6cd5\u6765\u89e3\u51b3 VsCode \u5728\u5927\u578b\u9879\u76ee\u4e2d\u8bed\u8a00\u670d\u52a1\u5668\u5d29\u6e83\u7684\u95ee\u9898\u3002\u5e0c\u671b\u8fd9\u4e9b\u65b9\u6cd5\u80fd\u591f\u5e2e\u52a9\u60a8\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\uff0c\u786e\u4fdd\u9879\u76ee\u7684\u987a\u5229\u8fdb\u884c\u3002\u5982\u679c\u60a8\u6709\u5176\u4ed6\u95ee\u9898\uff0c\u6b22\u8fce\u5728\u7559\u8a00\u533a\u4ea4\u6d41\u8ba8\u8bba\uff01_vscode\u8bed\u8a00\u670d\u52a1\u5668\u5d29\u6e83<\/p>\n","protected":false},"author":2,"featured_media":37074,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[70,76,575,43,602],"topic":[],"class_list":["post-37075","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-ide","tag-vscode","tag-575","tag-43","tag-602"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5982\u4f55\u5728\u5927\u578b\u9879\u76ee\u4e2d\u89e3\u51b3 VsCode \u8bed\u8a00\u670d\u52a1\u5668\u5d29\u6e83\u7684\u95ee\u9898 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/37075.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u5728\u5927\u578b\u9879\u76ee\u4e2d\u89e3\u51b3 VsCode \u8bed\u8a00\u670d\u52a1\u5668\u5d29\u6e83\u7684\u95ee\u9898 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb742\u6b21\uff0c\u70b9\u8d5e8\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u901a\u8fc7\u5206\u6790\u7cfb\u7edf\u5185\u5b58\u60c5\u51b5\uff0c\u6211\u4eec\u53ef\u4ee5\u91c7\u53d6\u5173\u95ed\u4e0d\u5fc5\u8981\u7684\u7a0b\u5e8f\u3001\u589e\u52a0\u7269\u7406\u5185\u5b58\u548c\u4f18\u5316\u7a0b\u5e8f\u7b49\u65b9\u6cd5\u6765\u89e3\u51b3 VsCode \u5728\u5927\u578b\u9879\u76ee\u4e2d\u8bed\u8a00\u670d\u52a1\u5668\u5d29\u6e83\u7684\u95ee\u9898\u3002\u5e0c\u671b\u8fd9\u4e9b\u65b9\u6cd5\u80fd\u591f\u5e2e\u52a9\u60a8\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\uff0c\u786e\u4fdd\u9879\u76ee\u7684\u987a\u5229\u8fdb\u884c\u3002\u5982\u679c\u60a8\u6709\u5176\u4ed6\u95ee\u9898\uff0c\u6b22\u8fce\u5728\u7559\u8a00\u533a\u4ea4\u6d41\u8ba8\u8bba\uff01_vscode\u8bed\u8a00\u670d\u52a1\u5668\u5d29\u6e83\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/37075.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-13T19:46:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250513194612-6823a184913f2.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/37075.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/37075.html\",\"name\":\"\u5982\u4f55\u5728\u5927\u578b\u9879\u76ee\u4e2d\u89e3\u51b3 VsCode \u8bed\u8a00\u670d\u52a1\u5668\u5d29\u6e83\u7684\u95ee\u9898 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-13T19:46:13+00:00\",\"dateModified\":\"2025-05-13T19:46:13+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/37075.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/37075.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/37075.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u5728\u5927\u578b\u9879\u76ee\u4e2d\u89e3\u51b3 VsCode \u8bed\u8a00\u670d\u52a1\u5668\u5d29\u6e83\u7684\u95ee\u9898\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u5728\u5927\u578b\u9879\u76ee\u4e2d\u89e3\u51b3 VsCode \u8bed\u8a00\u670d\u52a1\u5668\u5d29\u6e83\u7684\u95ee\u9898 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/37075.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u5728\u5927\u578b\u9879\u76ee\u4e2d\u89e3\u51b3 VsCode \u8bed\u8a00\u670d\u52a1\u5668\u5d29\u6e83\u7684\u95ee\u9898 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb742\u6b21\uff0c\u70b9\u8d5e8\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u901a\u8fc7\u5206\u6790\u7cfb\u7edf\u5185\u5b58\u60c5\u51b5\uff0c\u6211\u4eec\u53ef\u4ee5\u91c7\u53d6\u5173\u95ed\u4e0d\u5fc5\u8981\u7684\u7a0b\u5e8f\u3001\u589e\u52a0\u7269\u7406\u5185\u5b58\u548c\u4f18\u5316\u7a0b\u5e8f\u7b49\u65b9\u6cd5\u6765\u89e3\u51b3 VsCode \u5728\u5927\u578b\u9879\u76ee\u4e2d\u8bed\u8a00\u670d\u52a1\u5668\u5d29\u6e83\u7684\u95ee\u9898\u3002\u5e0c\u671b\u8fd9\u4e9b\u65b9\u6cd5\u80fd\u591f\u5e2e\u52a9\u60a8\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\uff0c\u786e\u4fdd\u9879\u76ee\u7684\u987a\u5229\u8fdb\u884c\u3002\u5982\u679c\u60a8\u6709\u5176\u4ed6\u95ee\u9898\uff0c\u6b22\u8fce\u5728\u7559\u8a00\u533a\u4ea4\u6d41\u8ba8\u8bba\uff01_vscode\u8bed\u8a00\u670d\u52a1\u5668\u5d29\u6e83","og_url":"https:\/\/www.wsisp.com\/helps\/37075.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-13T19:46:13+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250513194612-6823a184913f2.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/37075.html","url":"https:\/\/www.wsisp.com\/helps\/37075.html","name":"\u5982\u4f55\u5728\u5927\u578b\u9879\u76ee\u4e2d\u89e3\u51b3 VsCode \u8bed\u8a00\u670d\u52a1\u5668\u5d29\u6e83\u7684\u95ee\u9898 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-13T19:46:13+00:00","dateModified":"2025-05-13T19:46:13+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/37075.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/37075.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/37075.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u5728\u5927\u578b\u9879\u76ee\u4e2d\u89e3\u51b3 VsCode \u8bed\u8a00\u670d\u52a1\u5668\u5d29\u6e83\u7684\u95ee\u9898"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/37075","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=37075"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/37075\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/37074"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=37075"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=37075"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=37075"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=37075"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}