{"id":843,"date":"2024-11-07T12:52:00","date_gmt":"2024-11-07T04:52:00","guid":{"rendered":"https:\/\/fwq.ai\/blog\/843\/"},"modified":"2024-11-07T12:52:00","modified_gmt":"2024-11-07T04:52:00","slug":"youcompleteme-%e5%ae%89%e8%a3%85%e6%97%b6%e9%81%87%e5%88%b0-install-py-%e8%84%9a%e6%9c%ac%e6%8a%a5%e9%94%99%e6%80%8e%e4%b9%88%e5%8a%9e%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/843\/","title":{"rendered":"YouCompleteMe \u5b89\u88c5\u65f6\u9047\u5230 install.py \u811a\u672c\u62a5\u9519\u600e\u4e48\u529e\uff1f"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1141\" src=\"https:\/\/fwq.ai\/blog\/wp-content\/uploads\/2024\/11\/172999893898164.jpg\" width=\"800\" height=\"320\" srcset=\"https:\/\/fwq.ai\/blog\/wp-content\/uploads\/2024\/11\/172999893898164.jpg 800w, https:\/\/fwq.ai\/blog\/wp-content\/uploads\/2024\/11\/172999893898164-300x120.jpg 300w, https:\/\/fwq.ai\/blog\/wp-content\/uploads\/2024\/11\/172999893898164-768x307.jpg 768w, https:\/\/fwq.ai\/blog\/wp-content\/uploads\/2024\/11\/172999893898164-670x268.jpg 670w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" title=\"YouCompleteMe \u5b89\u88c5\u65f6\u9047\u5230 install.py \u811a\u672c\u62a5\u9519\u600e\u4e48\u529e\uff1f\u63d2\u56fe\" alt=\"YouCompleteMe \u5b89\u88c5\u65f6\u9047\u5230 install.py \u811a\u672c\u62a5\u9519\u600e\u4e48\u529e\uff1f\u63d2\u56fe\" \/><\/p>\n<p><strong>YouCompleteMe \u5b89\u88c5\u65f6 install.py \u811a\u672c\u62a5\u9519\u89e3\u51b3\u65b9\u6848<\/strong><\/p>\n<p>\u5728\u5b89\u88c5 YouCompleteMe \u63d2\u4ef6\u65f6\uff0c\u7528\u6237\u5728\u6267\u884c install.py \u811a\u672c\u65f6\u9047\u5230\u4e86\u9519\u8bef\uff0c\u5177\u4f53\u8868\u73b0\u4e3a\u6587\u4ef6\u6821\u9a8c\u5931\u8d25\uff0c\u7cfb\u7edf\u5c1d\u8bd5\u91cd\u65b0\u4e0b\u8f7d\u6587\u4ef6\u3002<\/p>\n<p><strong>\u95ee\u9898\u5206\u6790<\/strong><\/p>\n<p>\u9519\u8bef\u539f\u56e0\u662f\u4e0b\u8f7d\u7684\u6587\u4ef6\u4e0e\u7cfb\u7edf\u4e2d\u7684\u6587\u4ef6\u6821\u9a8c\u4e0d\u5339\u914d\uff0c\u56e0\u6b64\u7cfb\u7edf\u4f1a\u91cd\u65b0\u4e0b\u8f7d\u6587\u4ef6\u3002<\/p>\n<p><strong>\u89e3\u51b3\u65b9\u6848<\/strong><\/p>\n<ul>\n<li> <strong>\u6ce8\u91ca\u6389\u6587\u4ef6\u6821\u9a8c\u4ee3\u7801\uff1a<\/strong>\u5728 build.py \u811a\u672c\u7684\u7b2c 1019 \u884c\uff0c\u6ce8\u91ca\u6389\u6587\u4ef6\u6821\u9a8c\u4ee3\u7801\uff0c\u4f7f\u5176\u4e0d\u518d\u5bf9\u538b\u7f29\u6587\u4ef6\u8fdb\u884c\u6821\u9a8c\u3002<\/li>\n<li> <strong>\u786e\u4fdd\u4e0b\u8f7d\u5b8c\u6574\u7684\u6587\u4ef6\uff1a<\/strong>\u624b\u52a8\u4e0b\u8f7d jdt.ls \u538b\u7f29\u5305\uff0c\u5e76\u5c06\u5176\u653e\u5165 cache \u76ee\u5f55\u4e2d\u3002<\/li>\n<\/ul>\n<p><strong>\u5176\u4ed6\u95ee\u9898<\/strong><\/p>\n<p>\u7528\u6237\u8fd8\u8be2\u95ee\u662f\u5426\u6709 ycm \u7684 PHP \u8865\u5168\u63d2\u4ef6\u3002\u76ee\u524d\uff0cycm \u6ca1\u6709\u4e13\u95e8\u7684 PHP \u8865\u5168\u63d2\u4ef6\u3002\u4f46\u662f\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528\u7b2c\u4e09\u65b9\u63d2\u4ef6\uff0c\u4f8b\u5982 coc-php\uff0c\u5b83\u53ef\u4ee5\u63d0\u4f9b PHP \u4ee3\u7801\u8865\u5168\u7684\u529f\u80fd\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fYouCompleteMe \u5b89\u88c5\u65f6\u9047\u5230 install.py \u811a\u672c\u62a5\u9519\u600e\u4e48\u529e\uff1f\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>YouCompleteMe \u5b89\u88c5\u65f6 install.py \u811a\u672c\u62a5\u9519\u89e3\u51b3\u65b9\u6848 \u5728\u5b89\u88c5 YouCompleteMe \u63d2\u4ef6\u65f6\uff0c\u7528\u6237\u5728\u6267\u884c install.py \u811a\u672c\u65f6\u9047\u5230\u4e86\u9519\u8bef\uff0c\u5177\u4f53\u8868\u73b0\u4e3a\u6587\u4ef6\u6821\u9a8c\u5931\u8d25\uff0c\u7cfb\u7edf\u5c1d\u8bd5\u91cd\u65b0\u4e0b\u8f7d\u6587\u4ef6\u3002 \u95ee\u9898\u5206\u6790 \u9519\u8bef\u539f\u56e0\u662f\u4e0b\u8f7d\u7684\u6587\u4ef6\u4e0e\u7cfb\u7edf\u4e2d\u7684\u6587\u4ef6\u6821\u9a8c\u4e0d\u5339\u914d\uff0c\u56e0\u6b64\u7cfb\u7edf\u4f1a\u91cd\u65b0\u4e0b\u8f7d\u6587\u4ef6\u3002 \u89e3\u51b3\u65b9\u6848 \u6ce8\u91ca\u6389\u6587\u4ef6\u6821\u9a8c\u4ee3\u7801\uff1a\u5728 build.py \u811a\u672c\u7684\u7b2c 1019 \u884c\uff0c\u6ce8\u91ca\u6389\u6587\u4ef6\u6821\u9a8c\u4ee3\u7801\uff0c\u4f7f\u5176\u4e0d\u518d\u5bf9\u538b\u7f29\u6587\u4ef6\u8fdb\u884c\u6821\u9a8c\u3002 \u786e\u4fdd\u4e0b\u8f7d\u5b8c\u6574\u7684\u6587\u4ef6\uff1a\u624b\u52a8\u4e0b\u8f7d jdt.ls \u538b\u7f29\u5305\uff0c\u5e76\u5c06\u5176\u653e\u5165 cache \u76ee\u5f55\u4e2d\u3002 \u5176\u4ed6\u95ee\u9898 \u7528\u6237\u8fd8\u8be2\u95ee\u662f\u5426\u6709 ycm \u7684 PHP \u8865\u5168\u63d2\u4ef6\u3002\u76ee\u524d\uff0cycm \u6ca1\u6709\u4e13\u95e8\u7684 PHP \u8865\u5168\u63d2\u4ef6\u3002\u4f46\u662f\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528\u7b2c\u4e09\u65b9\u63d2\u4ef6\uff0c\u4f8b\u5982 coc-php\uff0c\u5b83\u53ef\u4ee5\u63d0\u4f9b PHP \u4ee3\u7801\u8865\u5168\u7684\u529f\u80fd\u3002 \u4ee5\u4e0a\u5c31\u662fYouCompleteMe \u5b89\u88c5\u65f6\u9047\u5230 install.py \u811a\u672c\u62a5\u9519\u600e\u4e48\u529e\uff1f\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-843","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/843","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=843"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/843\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=843"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=843"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}