{"id":20537,"date":"2024-11-19T12:17:51","date_gmt":"2024-11-19T04:17:51","guid":{"rendered":"https:\/\/fwq.ai\/blog\/20537\/"},"modified":"2024-11-19T12:17:51","modified_gmt":"2024-11-19T04:17:51","slug":"vscode%e8%83%bd%e8%bf%90%e8%a1%8cc%e7%9a%84%e4%bb%a3%e7%a0%81%e4%b9%88","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/20537\/","title":{"rendered":"vscode\u80fd\u8fd0\u884cc\u7684\u4ee3\u7801\u4e48"},"content":{"rendered":"<blockquote><p>\n  visual studio code\u652f\u6301\u8fd0\u884cc\u4ee3\u7801\u3002\u8981\u8fd0\u884cc\u4ee3\u7801\uff0c\u9700\u8981\u9075\u5faa\u4ee5\u4e0b\u6b65\u9aa4\uff1a1. \u5b89\u88c5c\u7f16\u8bd1\u5668\uff1b2. \u5b89\u88c5vscode\u4e2d\u7684c\u6269\u5c55\uff1b3. \u914d\u7f6e\u7f16\u8bd1\u5668\uff1b4. \u521b\u5efac\u6587\u4ef6\uff1b5. \u7f16\u5199c\u4ee3\u7801\uff1b6. \u6309ctrl+f5\uff08windows\uff09\u6216cmd+fn+f5\uff08macos\uff09\u8fd0\u884c\u4ee3\u7801\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/03\/2024040304301612276.jpg\" class=\"aligncenter\" title=\"vscode\u80fd\u8fd0\u884cc\u7684\u4ee3\u7801\u4e48\u63d2\u56fe\" alt=\"vscode\u80fd\u8fd0\u884cc\u7684\u4ee3\u7801\u4e48\u63d2\u56fe\" \/><\/p>\n<p><strong>Visual Studio Code\u80fd\u5426\u8fd0\u884cC\u4ee3\u7801\uff1f<\/strong><\/p>\n<p><strong>\u7b54\u6848\uff1a<\/strong> \u662f<\/p>\n<p><strong>\u8be6\u7ec6\u8bf4\u660e\uff1a<\/strong><\/p>\n<p>Visual Studio Code\uff08VSCode\uff09\u662f\u4e00\u4e2a\u6d41\u884c\u7684\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\uff0c\u5305\u62ecC\u8bed\u8a00\u3002\u8981\u4f7f\u7528VSCode\u8fd0\u884cC\u4ee3\u7801\uff0c\u9700\u8981\u9075\u5faa\u4ee5\u4e0b\u6b65\u9aa4\uff1a<\/p>\n<ol>\n<li> <strong>\u5b89\u88c5C\u7f16\u8bd1\u5668\uff1a<\/strong>\u5728\u8ba1\u7b97\u673a\u4e0a\u5b89\u88c5\u4e00\u4e2aC\u7f16\u8bd1\u5668\uff0c\u5982GCC\u6216Clang\u3002<\/li>\n<li> <strong>\u5728VSCode\u4e2d\u5b89\u88c5C\u6269\u5c55\uff1a<\/strong>\u4eceVSCode\u6269\u5c55\u5e02\u573a\u4e2d\u5b89\u88c5Microsoft\u63d0\u4f9b\u7684C\/C++\u6269\u5c55\u3002<\/li>\n<li> <strong>\u914d\u7f6e\u7f16\u8bd1\u5668\uff1a<\/strong>\u5728VSCode\u4e2d\uff0c\u6253\u5f00\u201c\u8bbe\u7f6e\u201d\u83dc\u5355\uff0c\u7136\u540e\u641c\u7d22\u201cC\/C++\u201d\u3002\u5728\u201c\u7f16\u8bd1\u5668\u201d\u90e8\u5206\uff0c\u9009\u62e9\u5df2\u5b89\u88c5\u7684\u7f16\u8bd1\u5668\u3002<\/li>\n<li> <strong>\u521b\u5efaC\u6587\u4ef6\uff1a<\/strong>\u4f7f\u7528VSCode\u521b\u5efa\u65b0\u7684\u6587\u672c\u6587\u6863\uff0c\u5e76\u5c06\u5176\u6269\u5c55\u540d\u8bbe\u7f6e\u4e3a.c\uff08\u4f8b\u5982\uff0ctest.c\uff09\u3002<\/li>\n<li> <strong>\u7f16\u5199C\u4ee3\u7801\uff1a<\/strong>\u5728.c\u6587\u4ef6\u4e2d\u7f16\u5199C\u4ee3\u7801\u3002<\/li>\n<li> <strong>\u8fd0\u884c\u4ee3\u7801\uff1a<\/strong>\u6309Ctrl+F5\uff08Windows\uff09\u6216Cmd+Fn+F5\uff08macOS\uff09\u8fd0\u884c\u4ee3\u7801\u3002VSCode\u5c06\u4f7f\u7528\u914d\u7f6e\u7684\u7f16\u8bd1\u5668\u7f16\u8bd1\u548c\u8fd0\u884c\u4ee3\u7801\u3002<\/li>\n<\/ol>\n<p><strong>\u63d0\u793a\uff1a<\/strong><\/p>\n<ul>\n<li>\u786e\u4fdd\u7f16\u8bd1\u5668\u7684\u8def\u5f84\u5728VSCode\u4e2d\u5df2\u6b63\u786e\u914d\u7f6e\u3002<\/li>\n<li>\u5728\u8fd0\u884c\u4ee3\u7801\u4e4b\u524d\u4fdd\u5b58\u6240\u6709\u66f4\u6539\u3002<\/li>\n<li>VSCode\u8fd8\u652f\u6301\u8c03\u8bd5\u548c\u9519\u8bef\u68c0\u67e5\u7b49\u5176\u4ed6\u529f\u80fd\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f\u80fd\u8fd0\u884cc\u7684\u4ee3\u7801\u4e48\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>visual studio code\u652f\u6301\u8fd0\u884cc\u4ee3\u7801\u3002\u8981\u8fd0\u884cc\u4ee3\u7801\uff0c\u9700\u8981\u9075\u5faa\u4ee5\u4e0b\u6b65\u9aa4\uff1a1. \u5b89\u88c5c\u7f16\u8bd1\u5668\uff1b2. \u5b89\u88c5vscode\u4e2d\u7684c\u6269\u5c55\uff1b3. \u914d\u7f6e\u7f16\u8bd1\u5668\uff1b4. \u521b\u5efac\u6587\u4ef6\uff1b5. \u7f16\u5199c\u4ee3\u7801\uff1b6. \u6309ctrl+f5\uff08windows\uff09\u6216cmd+fn+f5\uff08macos\uff09\u8fd0\u884c\u4ee3\u7801\u3002 Visual Studio Code\u80fd\u5426\u8fd0\u884cC\u4ee3\u7801\uff1f \u7b54\u6848\uff1a \u662f \u8be6\u7ec6\u8bf4\u660e\uff1a Visual Studio Code\uff08VSCode\uff09\u662f\u4e00\u4e2a\u6d41\u884c\u7684\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u652f\u6301\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\uff0c\u5305\u62ecC\u8bed\u8a00\u3002\u8981\u4f7f\u7528VSCode\u8fd0\u884cC\u4ee3\u7801\uff0c\u9700\u8981\u9075\u5faa\u4ee5\u4e0b\u6b65\u9aa4\uff1a \u5b89\u88c5C\u7f16\u8bd1\u5668\uff1a\u5728\u8ba1\u7b97\u673a\u4e0a\u5b89\u88c5\u4e00\u4e2aC\u7f16\u8bd1\u5668\uff0c\u5982GCC\u6216Clang\u3002 \u5728VSCode\u4e2d\u5b89\u88c5C\u6269\u5c55\uff1a\u4eceVSCode\u6269\u5c55\u5e02\u573a\u4e2d\u5b89\u88c5Microsoft\u63d0\u4f9b\u7684C\/C++\u6269\u5c55\u3002 \u914d\u7f6e\u7f16\u8bd1\u5668\uff1a\u5728VSCode\u4e2d\uff0c\u6253\u5f00\u201c\u8bbe\u7f6e\u201d\u83dc\u5355\uff0c\u7136\u540e\u641c\u7d22\u201cC\/C++\u201d\u3002\u5728\u201c\u7f16\u8bd1\u5668\u201d\u90e8\u5206\uff0c\u9009\u62e9\u5df2\u5b89\u88c5\u7684\u7f16\u8bd1\u5668\u3002 \u521b\u5efaC\u6587\u4ef6\uff1a\u4f7f\u7528VSCode\u521b\u5efa\u65b0\u7684\u6587\u672c\u6587\u6863\uff0c\u5e76\u5c06\u5176\u6269\u5c55\u540d\u8bbe\u7f6e\u4e3a.c\uff08\u4f8b\u5982\uff0ctest.c\uff09\u3002 \u7f16\u5199C\u4ee3\u7801\uff1a\u5728.c\u6587\u4ef6\u4e2d\u7f16\u5199C\u4ee3\u7801\u3002 \u8fd0\u884c\u4ee3\u7801\uff1a\u6309Ctrl+F5\uff08Windows\uff09\u6216Cmd+Fn+F5\uff08macOS\uff09\u8fd0\u884c\u4ee3\u7801\u3002VSCode\u5c06\u4f7f\u7528\u914d\u7f6e\u7684\u7f16\u8bd1\u5668\u7f16\u8bd1\u548c\u8fd0\u884c\u4ee3\u7801\u3002 \u63d0\u793a\uff1a \u786e\u4fdd\u7f16\u8bd1\u5668\u7684\u8def\u5f84\u5728VSCode\u4e2d\u5df2\u6b63\u786e\u914d\u7f6e\u3002 \u5728\u8fd0\u884c\u4ee3\u7801\u4e4b\u524d\u4fdd\u5b58\u6240\u6709\u66f4\u6539\u3002 VSCode\u8fd8\u652f\u6301\u8c03\u8bd5\u548c\u9519\u8bef\u68c0\u67e5\u7b49\u5176\u4ed6\u529f\u80fd\u3002 \u4ee5\u4e0a\u5c31\u662f\u80fd\u8fd0\u884cc\u7684\u4ee3\u7801\u4e48\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-20537","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20537","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=20537"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20537\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=20537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=20537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=20537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}