{"id":1408,"date":"2024-09-10T07:20:00","date_gmt":"2024-09-09T23:20:00","guid":{"rendered":"https:\/\/blog.laoyulaoyu.top\/?p=1408"},"modified":"2024-09-04T20:47:12","modified_gmt":"2024-09-04T12:47:12","slug":"%e6%88%91%e7%9a%84%e6%90%ac%e7%a0%96%e5%b7%a5%e5%85%b7%e7%94%b1vs-code%e6%94%b9%e6%88%90-cursor-%e4%ba%86","status":"publish","type":"post","link":"https:\/\/blog.laoyulaoyu.top\/index.php\/2024\/09\/10\/%e6%88%91%e7%9a%84%e6%90%ac%e7%a0%96%e5%b7%a5%e5%85%b7%e7%94%b1vs-code%e6%94%b9%e6%88%90-cursor-%e4%ba%86\/","title":{"rendered":"\u6211\u7684\u642c\u7816\u5de5\u5177\u7531VS Code\u6539\u6210 Cursor \u4e86"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u4f5c\u8005\uff1a<a href=\"https:\/\/www.laoyulaoyu.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u8001\u4f59\u635e\u9c7c<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">\u539f\u521b\u4e0d\u6613\uff0c\u8f6c\u8f7d\u8bf7\u6807\u660e\u51fa\u5904\u53ca\u539f\u4f5c\u8005\u3002<\/mark><\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\" id=\"1c87\"><img decoding=\"async\" src=\"https:\/\/cdn-images-1.readmedium.com\/v2\/resize:fit:800\/1*-iqKYGkJyxiQx9fqbRDULw.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\"><a href=\"https:\/\/www.cursor.com\/\">Cursor<\/a>\u662f\u4f7f\u7528\u4eba\u5de5\u667a\u80fd\u7f16\u7801\u7684\u6700\u4f73\u65b9\u5f0f\u3002<\/figcaption><\/figure>\n<\/div>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<pre class=\"wp-block-verse\"><strong>\u5199\u5728\u524d\u9762\u7684\u8bdd\uff1a<\/strong>\u672c\u6587\u4ecb\u7ecd\u4e86\u6211\u4ece VS Code \u8f6c\u5411 Cursor \u7684\u539f\u56e0\uff0c\u5f3a\u8c03\u4e86 Cursor \u7684\u4eba\u5de5\u667a\u80fd\u4ea4\u4e92\u6d41\u7545\u6027\u4ee5\u53ca\u5176\u4ed6\u4e00\u4e9b\u4f18\u4e8e VS Code \u7684\u7279\u6027\u3002<\/pre>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"5b2e\">VS Code \u662f\u514d\u8d39\u7684\uff0c\u800c\u4e14\u8fd0\u884c\u8d77\u6765\u975e\u5e38\u51fa\u8272\u3002\u6211\u4e00\u76f4\u5f88\u559c\u6b22 VS Code\uff0c\u4e0d\u8fc7\uff0c\u5b83\u4e0e GitHub Copilot \u7b49\u7f16\u7801\u52a9\u624b\u6269\u5c55\u7684\u4ea4\u4e92\u5e76\u4e0d\u6bd4\u4f7f\u7528 ChatGPT \u597d\u591a\u5c11\uff0c\u800c\u4e14\u80af\u5b9a\u4e0d\u5982 Claude\u3002\u5728\u5bfb\u627e\u5176\u4ed6\u66ff\u4ee3\u65b9\u6848\u65f6\uff0c\u6211\u5076\u7136\u53d1\u73b0\u4e86<a href=\"https:\/\/www.cursor.com\/\">Cursor<\/a>\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"fa60\">\u4e00\u5f00\u59cb\uff0c\u6211\u8ba4\u4e3a Cursor \u53ea\u662f\u53e6\u4e00\u6b3e VS Code \u7684\u5c71\u5be8\u7248\uff0c\u5728\u63d0\u4f9b\u5fae\u5c0f\u6539\u8fdb\u7684\u540c\u65f6\uff0c\u8fd8\u8bd5\u56fe\u642d\u4e0a\u4eba\u5de5\u667a\u80fd\u7684\u987a\u98ce\u8f66\u3002\u4e0d\u8fc7\uff0c\u6211\u8fd8\u662f\u51b3\u5b9a\u7ed9 Cursor \u4e00\u6b21\u673a\u4f1a\uff0c\u540c\u65f6\u964d\u4f4e\u671f\u671b\u503c\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"2599\"><strong>\u4e00\u3001\u8bd5\u7528 Cursor<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"22be\">\u9996\u5148\uff0c\u6211\u5f88\u9ad8\u5174\u80fd\u4ece VS Code \u4e00\u952e\u5bfc\u5165\u6269\u5c55\u3001\u8bbe\u7f6e\u548c\u6309\u952e\u7ed1\u5b9a\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\" id=\"f6a5\"><img decoding=\"async\" src=\"https:\/\/cdn-images-1.readmedium.com\/v2\/resize:fit:800\/1*PafGCXfSdJZtm0KgoxXw_w.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Cursor\u5141\u8bb8\u4ece VS \u4ee3\u7801\u5bfc\u5165\u6269\u5c55\u3001\u8bbe\u7f6e\u548c\u6309\u952e\u7ed1\u5b9a<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\" id=\"d833\">\u7136\u540e\uff0c\u6211\u4f7f\u7528 pnpm create vite dalling &#8211; template react-ts \u521b\u5efa\u4e86\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\uff0c\u4e0b\u9762\u662f\u5b83\u5728Cursor\u4e0a\u7684\u6837\u5b50\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\" id=\"f9a8\"><img decoding=\"async\" src=\"https:\/\/cdn-images-1.readmedium.com\/v2\/resize:fit:800\/1*7kDzAJDHFbhS6Ew_Z-1Sqg.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">\u4f7f\u7528Cursor\u521b\u5efa DALLE-3 \u56fe\u50cf\u751f\u6210\u5668<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\" id=\"79af\">\u6211\u5f88\u9ad8\u5174\u80fd\u6709\u4e00\u4e2a\u7c7b\u4f3c\u4e8e VS Code \u7684\u754c\u9762\u3002\u65e0\u9700\u5b66\u4e60\u65b0\u7684\u5feb\u6377\u952e\u6216\u5143\u7d20\u4f4d\u7f6e\u3002\u5728\u5de6\u4e0a\u89d2\uff0c\u4f60\u53ef\u4ee5\u770b\u5230\u4e00\u4e2a\u9636\u68af\u5f0f\u4ecb\u7ecd\uff0c\u5e2e\u52a9\u4f60\u4e86\u89e3\u4e00\u4e9b\u4e3b\u8981\u529f\u80fd\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"4bf2\"><strong>\u4e8c\u3001\u5728\u7ebf\u63d0\u793a\u548c\u804a\u5929<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"206d\">\u6709\u8da3\u7684\u4e00\u70b9\u662f\uff0c\u60a8\u53ef\u4ee5\u5728\u4e0d\u79bb\u5f00 IDE \u4e0a\u6b63\u5728\u5904\u7406\u7684\u6587\u4ef6\u7684\u60c5\u51b5\u4e0b\u7f16\u5199\u63d0\u793a\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"dade\"><strong>2.1 \u5728\u7ebf\u63d0\u793a<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"b958\">\u6211\u7a81\u51fa\u663e\u793a\u4e86\u4e00\u4e9b\u6a21\u677f\u4ee3\u7801\uff0c\u5e76\u8981\u6c42 Cursor \u4ee5\u622a\u7136\u4e0d\u540c\u7684\u65b9\u5f0f\u5bf9\u5176\u8fdb\u884c\u7f16\u8f91\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\" id=\"0102\"><img decoding=\"async\" src=\"https:\/\/cdn-images-1.readmedium.com\/v2\/resize:fit:800\/1*8Emfjym1CRJ3_iKUssCGYw.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">\u7f16\u8f91\u4ee3\u7801\u7684\u5185\u8054\u63d0\u793a<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\" id=\"0df0\">Cursor \u751f\u6210\u4e86\u4e00\u4e2a\u5dee\u5f02\uff0c\u5e76\u8981\u6c42\u6279\u51c6\u3001\u62d2\u7edd\u6216\u7f16\u5199\u540e\u7eed\u95ee\u9898\u3002\u5982\u679c\u4f60\u719f\u6089 git\uff0c\u4f60\u53ef\u80fd\u5df2\u7ecf\u4e86\u89e3\u5b83\u4e86\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\" id=\"433a\"><img decoding=\"async\" src=\"https:\/\/cdn-images-1.readmedium.com\/v2\/resize:fit:800\/1*tqtcdlXmz_y8WPL6Vct7Yw.png\" alt=\"\" style=\"width:655px;height:auto\"\/><figcaption class=\"wp-element-caption\">Diff \u89c6\u56fe\u6765\u6279\u51c6\u6216\u62d2\u7edd\u66f4\u6539\u3002\u6216\u8005\uff0c\u6839\u636e\u63d0\u793a\u64b0\u5199\u540e\u7eed\u5185\u5bb9\u3002<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\" id=\"662d\">\u6211\u8bd5\u56fe\u7f16\u5199\u4e00\u6761\u540e\u7eed\u6307\u4ee4\uff0c\u8981\u6c42 Cursor \u4f7f\u7528 useState \u751f\u6210 inputText \u548c setInputText\uff0c\u4f46\u6ca1\u6709\u6210\u529f\u3002\u770b\u6765 Cursor \u53ea\u80fd\u751f\u6210\u5f39\u51fa\u63d0\u793a\u4e0b\u7684\u4ee3\u7801\u3002\u4e0d\u8fc7\uff0c\u6211\u5f88\u559c\u6b22\u804a\u5929\u4e2d\u7684\u4eba\u5de5\u667a\u80fd\u4fee\u590d\u6309\u94ae\uff01\u5b83\u80fd\u65e0\u7f1d\u6253\u5f00\u53f3\u4fa7\u7684\u804a\u5929\u7a97\u53e3\uff0c\u8f93\u5165\u6211\u9ad8\u4eae\u663e\u793a\u7684\u6587\u5b57\uff0c\u5e76\u7ed9\u51fa\u5408\u9002\u7684\u7b54\u6848\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\" id=\"266c\"><img decoding=\"async\" src=\"https:\/\/cdn-images-1.readmedium.com\/v2\/resize:fit:800\/1*Wd6oS8E6mupFaK7eE8Zj-g.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">\u804a\u5929\u6309\u94ae\u4e2d\u7684\u4eba\u5de5\u667a\u80fd\u4fee\u590d<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\" id=\"68c3\">\u8fd9\u6bd4 &#8220;\u5feb\u901f\u4fee\u590d &#8220;\u6309\u94ae\u8981\u597d\u5f97\u591a\uff0c\u540e\u8005\u5728 VS \u4ee3\u7801\u4e2d\u4e5f\u6709\u63d0\u4f9b\uff0c\u4f46\u611f\u53d7\u5f88\u5dee\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"9d09\">\u7136\u540e\uff0c\u6211\u6dfb\u52a0\u4e86\u4e0e OpenAI API \u4ea4\u4e92\u7684\u914d\u7f6e\uff0c\u5305\u62ec\u8eab\u4efd\u9a8c\u8bc1\u548c\u9879\u76ee ID\u3001dangerouslyAllowBrowser \u7b49\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>const openai = new OpenAI({\n    project: \"proj_HStinaZbRWsoaweXtmD1dIMh\",\n    apiKey: \"sk-proj-VZmQaxxxx...\",\n    dangerouslyAllowBrowser: true,\n  });<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"610c\">\u6211\u5728\u53e6\u4e00\u7bc7\u6587\u7ae0\u4e2d\u5199\u8fc7\uff0c\u8fd9\u91cc\u5c31\u4e0d\u518d\u5c55\u5f00\u4e86\u3002\u8fd9\u5c31\u662f\u5b83\u7684\u5916\u89c2\u3002<br>\u975e\u5e38\u9177\uff0c\u53ea\u82b1\u4e86\u5927\u7ea6 10 \u5206\u949f\uff01<\/p>\n\n\n\n<figure class=\"wp-block-image\" id=\"4ae3\"><img decoding=\"async\" src=\"https:\/\/cdn-images-1.readmedium.com\/v2\/resize:fit:800\/1*Yxc_uAL1kWCMyoIm9CZm6A.png\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3172\"><br><strong>2.2 \u804a\u5929<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"705d\">\u804a\u5929\u529f\u80fd\u4e0e VS Code \u7c7b\u4f3c\uff0c\u6211\u60f3\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u7247\u6bb5\u4e2d\u6d4b\u8bd5\u4e00\u4e0b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"8c7a\">\u4e0d\u8fc7\uff0c\u4ee4\u6211\u60ca\u8bb6\u7684\u662f\uff0c\u4e0e Copilot \u4e0d\u540c\uff0c\u5b83\u53ef\u4ee5\u626b\u63cf\u5e76\u8bfb\u53d6\u6574\u4e2a\u6587\u4ef6\uff01\u4f60\u53ef\u4ee5\u8ba9 Cursor \u626b\u63cf\u4e00\u4e2a\u6587\u4ef6\u6216\u6574\u4e2a\u4ee3\u7801\u5e93\uff01<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"9302\">\u6211\u559c\u6b22\u6211\u6536\u5230\u7684\u5efa\u8bae\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>To improve this component, you should:\n  1. Move the API key to a secure backend\n  2. Add error handling for the API call\n  3. Consider adding a loading state while the image is being generated<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"7815\">\u5f53\u6211\u8981\u6c42\u5728\u7b2c\u4e00\u4e2a\u95ee\u9898\u4e0a\u63d0\u4f9b\u5e2e\u52a9\u65f6\uff0c\u5b83\u7ee7\u7eed\u521b\u5efa\u4e86\u4e00\u4e2a\u7b80\u5355\u7684\u540e\u53f0\u6587\u4ef6\u3002\u7136\u540e\u6211\u53c8\u8981\u6c42\u4e0d\u521b\u5efa\u540e\u53f0\u6587\u4ef6\uff0c\u56e0\u4e3a\u8fd9\u53ea\u662f\u4e00\u4e2a MVP\uff0c\u6240\u4ee5\u5b83\u5efa\u8bae\u4f7f\u7528\u7ecf\u5178\u7684 .env \u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"3dce\">\u6700\u540e\uff0c\u5b83\u7ee7\u7eed\u63d0\u4f9b\u9519\u8bef\u5904\u7406\u548c\u52a0\u8f7d\u72b6\u6001\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4e0e\u6587\u4ef6\u804a\u5929<\/li>\n\n\n\n<li>\u4e0e\u4ee3\u7801\u5e93\u804a\u5929<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"8887\"><br><strong>\u4e09\u3001\u6539\u8fdb\u7528\u6237\u754c\u9762<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"13fe\">\u8fd9\u662f\u6211\u559c\u6b22\u7684\u53e6\u4e00\u9879\u529f\u80fd\uff01\u6211\u771f\u7684\u628a\u5e94\u7528\u7a0b\u5e8f\u622a\u56fe\u53d1\u7ed9\u4e86 Cursor \u804a\u5929\u5ba4\uff0c\u6073\u6c42\u4ed6\u4eec\u5e2e\u52a9\u6211\u5b9e\u73b0 &#8220;\u6781\u7b80 &#8220;\u7528\u6237\u754c\u9762\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\" id=\"4d5a\"><img decoding=\"async\" src=\"https:\/\/cdn-images-1.readmedium.com\/v2\/resize:fit:800\/1*mnoe0BEje8vYQ722FhYBLA.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">\u5728 Cursor \u804a\u5929\u4e2d\u6dfb\u52a0\u56fe\u7247\u548c\u5bfb\u6c42\u5e2e\u52a9<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\" id=\"b17c\">\u679c\u7136\uff0c\u5b83\u7ed9\u4e86\u6211\u4e00\u4e2a\u8be6\u5c3d\u7684\u7b54\u6848\uff0c\u5e76\u63d0\u4f9b\u4e86 CSS \u4ee3\u7801\uff0c\u6211\u53ea\u9700\u70b9\u51fb &#8220;\u5e94\u7528 &#8220;\u5373\u53ef\u4f7f\u7528\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"9f3f\"><strong>\u56db\u3001\u9009\u62e9\u4eba\u5de5\u667a\u80fd\u6a21\u578b<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"132b\">\u53e6\u4e00\u4e2a\u6709\u8da3\u7684\u529f\u80fd\u662f\u53ef\u4ee5\u968f\u610f\u66f4\u6539\u4eba\u5de5\u667a\u80fd\u6a21\u578b\u3002\u6709\u51e0\u6b3e\u6269\u5c55\u8f6f\u4ef6\u53ef\u4ee5\u505a\u5230\u8fd9\u4e00\u70b9\uff0c\u4f46 Copilot \u5374\u505a\u4e0d\u5230\u3002\u6211\u4eec\u90fd\u77e5\u9053\uff0c\u5728\u7279\u5b9a\u4efb\u52a1\uff08\u5982\u7f16\u7801\uff09\u4e2d\uff0c\u6709\u4e9b\u578b\u53f7\u6bd4\u5176\u4ed6\u578b\u53f7\u8868\u73b0\u66f4\u597d\u3002Cursor \u5141\u8bb8\u60a8\u4ece claude-3.5-sonnet\u3001gpt-4o\u3001gpt-4o-mini \u7b49\u673a\u578b\u4e2d\u9009\u62e9\u81ea\u5df1\u7684\u6a21\u578b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"06e9\">\u6b64\u5916\uff0cCursor \u7684\u6fc0\u52b1\u673a\u5236\u4e0e\u5f00\u53d1\u8005\u7684\u6fc0\u52b1\u673a\u5236\u662f\u4e00\u81f4\u7684\u3002\u4ed6\u4eec\u58f0\u79f0\u81ea\u5df1\u662f\u4f7f\u7528\u4eba\u5de5\u667a\u80fd\u7f16\u7801\u7684\u6700\u4f73\u65b9\u5f0f\uff0c\u8fd9\u5c31\u610f\u5473\u7740\u8981\u63d0\u4f9b\u6700\u597d\u7684\u4eba\u5de5\u667a\u80fd\u6a21\u578b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"a340\">\u53e6\u4e00\u65b9\u9762\uff0cGitHub Copilot \u7684\u6240\u6709\u8005\u662f\u5fae\u8f6f\uff0c\u800c\u5fae\u8f6f\u4e5f\u662f OpenAI \u7684\u6240\u6709\u8005\u3002\u5728\u6211\u770b\u6765\uff0c\u5fae\u8f6f\u81f3\u5c11\u62e5\u6709\u5176 49% \u7684\u80a1\u4efd\uff0c\u8fd9\u8db3\u4ee5\u4fdd\u8bc1\u5176\u516c\u6b63\u6027\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"f860\">OpenAI \u6295\u8d44\u4e86 Cursor\uff0c\u6240\u4ee5\u5982\u679c\u51e0\u5e74\u540e Cursor \u6210\u4e3a\u5fae\u8f6f\u7684\u4e00\u90e8\u5206\uff0c\u8bf7\u4e0d\u8981\u611f\u5230\u60ca\u8bb6\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"4372\"><br><strong>\u4e94\u3001\u4fc3\u4f7f\u6211\u4ece VS \u4ee3\u7801\u8f6c\u5411Cursor\u7684\u539f\u56e0<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"69fe\">\u5982\u679c\u6211\u53ea\u9700\u8981\u63d0\u5230\u4e00\u4e2a\u6211\u4ece VS Code \u8f6c\u5230 Cursor \u7684\u660e\u786e\u539f\u56e0\uff0c\u6211\u4f1a\u8bf4\uff1a&#8221;Cursor&#8230;&#8230;&#8221;\uff1a\u6d41\u7545\u7684\u4eba\u5de5\u667a\u80fd\u4ea4\u4e92\u3002\u8fd9\u6709\u70b9\u96be\u4ee5\u63cf\u8ff0\uff0c\u4f46 Cursor \u7ed9\u4eba\u7684\u611f\u89c9\u66f4\u6613\u4e8e\u4ea4\u4e92\u3002\u5f53\u6211\u5c06\u5b83\u4e0e VS Code \u6269\u5c55\u8fdb\u884c\u6bd4\u8f83\u65f6\uff0c\u6211\u60f3\u5230\u7684\u662f<strong>\u4e1d\u6ed1<\/strong>\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"3e29\">\u5728\u8bb8\u591a\u60c5\u51b5\u4e0b\uff0c\u6211\u559c\u6b22\u5728\u7ebf\u548c AI \u804a\u5929\u548c\u5b8c\u6210\u5de5\u4f5c\uff0c\u56e0\u4e3a\u6211\u4e0d\u9700\u8981\u79bb\u5f00\u6211\u6b63\u5728\u5904\u7406\u7684\u6587\u4ef6\u3002\u8fd9\u6709\u52a9\u4e8e\u96c6\u4e2d\u6ce8\u610f\u529b\u3002\u5176\u4ed6\u4ea4\u4e92\u65b9\u5f0f\uff0c\u4f8b\u5982\u4e00\u952e\u63a5\u53d7\u5efa\u8bae\uff0c\u5373\u4f7f\u8fd9\u4e9b\u5efa\u8bae\u5c06\u5e94\u7528\u4e8e\u96c6\u6210\u5f00\u53d1\u73af\u5883\u4e2d\u5c1a\u672a\u6253\u5f00\u7684\u6587\u4ef6\uff0c\u4e5f\u80fd\u8ba9\u6574\u4e2a\u4ea4\u4e92\u8fc7\u7a0b\u5929\u8863\u65e0\u7f1d\u3002\u603b\u7684\u6765\u8bf4\uff0c\u5728 VS Code \u4e2d\u4f7f\u7528\u6269\u5c55\u7a0b\u5e8f\u65e0\u6cd5\u63d0\u4f9b\u540c\u6837\u7684\u65e0\u7f1d\u4f53\u9a8c\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><strong><mark style=\"background-color:#ffffff\" class=\"has-inline-color has-cyan-bluish-gray-color\">\u672c\u6587\u5185\u5bb9\u4ec5\u4ec5\u662f\u6280\u672f\u63a2\u8ba8\u548c\u5b66\u4e60\uff0c\u5e76\u4e0d\u6784\u6210\u4efb\u4f55\u6295\u8d44\u5efa\u8bae\u3002<\/mark><\/strong><\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><strong><mark style=\"background-color:#ffffff\" class=\"has-inline-color has-cyan-bluish-gray-color\">\u8f6c\u53d1\u8bf7\u6ce8\u660e\u539f\u4f5c\u8005\u548c\u51fa\u5904<\/mark><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f5c\u8005\uff1a\u8001\u4f59\u635e\u9c7c \u539f\u521b\u4e0d\u6613\uff0c\u8f6c\u8f7d\u8bf7\u6807\u660e\u51fa\u5904\u53ca\u539f\u4f5c\u8005\u3002&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/blog.laoyulaoyu.top\/index.php\/2024\/09\/10\/%e6%88%91%e7%9a%84%e6%90%ac%e7%a0%96%e5%b7%a5%e5%85%b7%e7%94%b1vs-code%e6%94%b9%e6%88%90-cursor-%e4%ba%86\/\">Continue reading<span class=\"screen-reader-text\">\u6211\u7684\u642c\u7816\u5de5\u5177\u7531VS Code\u6539\u6210 Cursor \u4e86<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[3],"class_list":["post-1408","post","type-post","status-publish","format-standard","hentry","category-aiinvest","tag-ai","entry"],"_links":{"self":[{"href":"https:\/\/blog.laoyulaoyu.top\/index.php\/wp-json\/wp\/v2\/posts\/1408","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.laoyulaoyu.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.laoyulaoyu.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.laoyulaoyu.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.laoyulaoyu.top\/index.php\/wp-json\/wp\/v2\/comments?post=1408"}],"version-history":[{"count":2,"href":"https:\/\/blog.laoyulaoyu.top\/index.php\/wp-json\/wp\/v2\/posts\/1408\/revisions"}],"predecessor-version":[{"id":1410,"href":"https:\/\/blog.laoyulaoyu.top\/index.php\/wp-json\/wp\/v2\/posts\/1408\/revisions\/1410"}],"wp:attachment":[{"href":"https:\/\/blog.laoyulaoyu.top\/index.php\/wp-json\/wp\/v2\/media?parent=1408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.laoyulaoyu.top\/index.php\/wp-json\/wp\/v2\/categories?post=1408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.laoyulaoyu.top\/index.php\/wp-json\/wp\/v2\/tags?post=1408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}