{"id":139617,"date":"2024-04-29T11:32:46","date_gmt":"2024-04-29T03:32:46","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/139617.html"},"modified":"2024-04-29T11:32:49","modified_gmt":"2024-04-29T03:32:49","slug":"project%e6%96%87%e5%ad%97%e6%80%8e%e4%b9%88%e6%8d%a2%e8%a1%8c","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/139617.html","title":{"rendered":"project\u6587\u5b57\u600e\u4e48\u6362\u884c"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25111025\/c3e6bdfd-e62d-4a8f-92e3-178beb1be96b.webp\" alt=\"project\u6587\u5b57\u600e\u4e48\u6362\u884c\" \/><\/p>\n<p><p>\u5728\u5904\u7406\u7535\u8111\u6587\u6863\u6216\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\uff0c\u5b9e\u73b0\u6587\u5b57\u6362\u884c\u9700\u8981\u638c\u63e1\u4e0d\u540c\u73af\u5883\u4e0b\u7684\u5177\u4f53\u65b9\u6cd5\u3002<strong>\u5728\u6587\u672c\u7f16\u8f91\u5668\u3001\u7f16\u7a0b\u8bed\u8a00\u3001\u4ee5\u53ca\u5404\u79cd\u5e94\u7528\u7a0b\u5e8f\u4e2d\uff0c\u6362\u884c\u7684\u65b9\u5f0f\u5927\u81f4\u53ef\u4ee5\u5206\u4e3a\u4f7f\u7528\u7279\u5b9a\u7684\u6362\u884c\u7b26\u3001\u5229\u7528\u8f6f\u4ef6\u6216\u7f16\u8f91\u5668\u7684\u5feb\u6377\u952e\u3001\u4ee5\u53ca\u5728\u67d0\u4e9b\u5e94\u7528\u7a0b\u5e8f\u4e2d\u8bbe\u7f6e\u81ea\u52a8\u6362\u884c<\/strong>\u3002\u4f8b\u5982\uff0c\u5728\u5927\u591a\u6570\u7f16\u7a0b\u73af\u5883\u4e2d\uff0c\u6362\u884c\u901a\u5e38\u662f\u901a\u8fc7\u5728\u4ee3\u7801\u4e2d\u63d2\u5165\u4e00\u4e2a\u7279\u5b9a\u7684\u6362\u884c\u7b26\uff08\u5982<code>\\n<\/code>\u5728C\u8bed\u8a00\u548c\u8bb8\u591a\u73b0\u4ee3\u7f16\u7a0b\u8bed\u8a00\u4e2d\uff09\u6765\u5b9e\u73b0\u7684\u3002\u8fd9\u662f\u56e0\u4e3a\u7f16\u7a0b\u8bed\u8a00\u9700\u8981\u660e\u786e\u5730\u77e5\u9053\u6587\u672c\u4f55\u65f6\u6362\u884c\uff0c\u4ee5\u6b63\u786e\u5730\u663e\u793a\u8f93\u51fa\u6216\u5904\u7406\u6570\u636e\u3002<\/p>\n<\/p>\n<p><h3><strong>\u4e00\u3001 \u4f7f\u7528\u7279\u5b9a\u7684\u6362\u884c\u7b26<\/strong><\/h3>\n<\/p>\n<p><p>\u5728\u7f16\u7a0b\u548c\u6587\u672c\u5904\u7406\u4e2d\uff0c\u6362\u884c\u7684\u9700\u6c42\u901a\u5e38\u901a\u8fc7\u5728\u6587\u672c\u4e2d\u63d2\u5165\u7279\u5b9a\u7684\u5b57\u7b26\u6765\u5b9e\u73b0\uff0c\u8fd9\u4e9b\u5b57\u7b26\u5728\u6587\u4ef6\u88ab\u8bfb\u53d6\u6216\u663e\u793a\u65f6\uff0c\u88ab\u89e3\u91ca\u4e3a\u6362\u884c\u6307\u4ee4\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u7f16\u7a0b\u8bed\u8a00\u4e2d\u7684\u6362\u884c<\/strong>\uff1a\u4f8b\u5982\uff0c\u5728C\u3001C++\u3001Java\u7b49\u7f16\u7a0b\u8bed\u8a00\u4e2d\uff0c<code>\\n<\/code>\u88ab\u7528\u4f5c\u6362\u884c\u7b26\u3002\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>\\n<\/code>\u4f5c\u4e3a\u5b57\u7b26\u4e32\u4e2d\u7684\u6362\u884c\u7b26\uff0c\u6216\u8005\u4f7f\u7528\u4e09\u5f15\u53f7(&#8220;&#8220;)\u6765\u521b\u5efa\u591a\u884c\u5b57\u7b26\u4e32\uff0c\u4ece\u800c\u65e0\u9700\u76f4\u63a5\u4f7f\u7528\u6362\u884c\u7b26\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>HTML\u4e2d\u7684\u6362\u884c<\/strong>\uff1a\u5728HTML\u6587\u4ef6\u4e2d\uff0c<code>&lt;br&gt;<\/code>\u6807\u7b7e\u7528\u4e8e\u63d2\u5165\u4e00\u4e2a\u6362\u884c\u7b26\u3002\u7531\u4e8eHTML\u662f\u6807\u8bb0\u8bed\u8a00\uff0c\u4e0d\u76f4\u63a5\u8bc6\u522b<code>\\n<\/code>\u4f5c\u4e3a\u6362\u884c\u7b26\uff0c\u56e0\u6b64\u9700\u8981\u4f7f\u7528<code>&lt;br&gt;<\/code>\u6765\u5b9e\u73b0\u6587\u672c\u7684\u6362\u884c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><h3><strong>\u4e8c\u3001 \u5229\u7528\u8f6f\u4ef6\u6216\u7f16\u8f91\u5668\u7684\u5feb\u6377\u952e<\/strong><\/h3>\n<\/p>\n<p><p>\u5728\u4e0d\u540c\u7684\u6587\u672c\u7f16\u8f91\u5668\u6216IDE\u4e2d\uff0c\u6362\u884c\u901a\u5e38\u53ef\u4ee5\u901a\u8fc7\u5feb\u6377\u952e\u76f4\u63a5\u5b8c\u6210\uff0c\u800c\u65e0\u9700\u624b\u52a8\u63d2\u5165\u7279\u5b9a\u7684\u6362\u884c\u7b26\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u6587\u672c\u7f16\u8f91\u5668\u7684\u5feb\u6377\u952e<\/strong>\uff1a\u5728\u5927\u591a\u6570\u6587\u672c\u7f16\u8f91\u5668\uff08\u5982Notepad++\u3001Sublime Text\u3001VS Code\u7b49\uff09\u4e2d\uff0c<code>Enter<\/code>\u952e\u88ab\u7528\u4e8e\u6362\u884c\u3002\u8fd9\u4e00\u64cd\u4f5c\u76f4\u89c2\u3001\u7b80\u5355\uff0c\u662f\u6587\u672c\u7f16\u8f91\u65f6\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>IDE\u4e2d\u7684\u5feb\u6377\u952e<\/strong>\uff1a\u5728\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u5982Eclipse\u3001IntelliJ IDEA\u4e2d\uff0c<code>Enter<\/code>\u952e\u540c\u6837\u7528\u4e8e\u6362\u884c\uff0c\u5e76\u4e14\u8fd9\u4e9b\u73af\u5883\u901a\u5e38\u4f1a\u6839\u636e\u7f16\u7a0b\u8bed\u8a00\u7684\u8bed\u6cd5\u81ea\u52a8\u7f29\u8fdb\u65b0\u7684\u4e00\u884c\uff0c\u7b80\u5316\u7f16\u7801\u8fc7\u7a0b\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><h3><strong>\u4e09\u3001 \u5728\u67d0\u4e9b\u5e94\u7528\u7a0b\u5e8f\u4e2d\u8bbe\u7f6e\u81ea\u52a8\u6362\u884c<\/strong><\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u6587\u672c\u7f16\u8f91\u5668\u6216\u5904\u7406\u7a0b\u5e8f\u4e2d\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u81ea\u52a8\u6362\u884c\uff0c\u4f7f\u5f97\u5f53\u4e00\u884c\u7684\u6587\u672c\u957f\u5ea6\u8d85\u51fa\u7f16\u8f91\u5668\u7a97\u53e3\u5bbd\u5ea6\u65f6\uff0c\u6587\u672c\u5c06\u81ea\u52a8\u6362\u884c\u81f3\u4e0b\u4e00\u884c\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u6587\u672c\u7f16\u8f91\u5668\u7684\u81ea\u52a8\u6362\u884c\u8bbe\u7f6e<\/strong>\uff1a\u4f8b\u5982\uff0c\u5728Notepad\u7b49\u7b80\u5355\u6587\u672c\u7f16\u8f91\u5668\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u6765\u542f\u7528\u6216\u7981\u7528\u81ea\u52a8\u6362\u884c\u3002\u8fd9\u6837\uff0c\u7528\u6237\u5728\u8f93\u5165\u6587\u672c\u65f6\u4e0d\u9700\u8981\u62c5\u5fc3\u624b\u52a8\u6362\u884c\uff0c\u7f16\u8f91\u5668\u4f1a\u6839\u636e\u7a97\u53e3\u5927\u5c0f\u81ea\u52a8\u5904\u7406\u6362\u884c\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9ad8\u7ea7\u6587\u672c\u7f16\u8f91\u5668\u6216IDE\u7684\u81ea\u52a8\u6362\u884c<\/strong>\uff1a\u5728\u66f4\u9ad8\u7ea7\u7684\u6587\u672c\u7f16\u8f91\u5668\u5982VS Code\u6216IDE\u4e2d\uff0c\u81ea\u52a8\u6362\u884c\u529f\u80fd\u66f4\u52a0\u5f3a\u5927\uff0c\u901a\u5e38\u63d0\u4f9b\u66f4\u591a\u7684\u914d\u7f6e\u9009\u9879\uff0c\u6bd4\u5982\u53ef\u4ee5\u8bbe\u7f6e\u6362\u884c\u7684\u5bbd\u5ea6\uff0c\u4f7f\u5176\u9002\u5e94\u4e0d\u540c\u7684\u7f16\u7a0b\u548c\u9605\u8bfb\u4e60\u60ef\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><p><strong>\u638c\u63e1\u8fd9\u4e9b\u6362\u884c\u7684\u65b9\u6cd5\u548c\u6280\u5de7\u662f\u5904\u7406\u6587\u672c\u548c\u7f16\u7a0b\u4e2d\u7684\u57fa\u7840\u80fd\u529b<\/strong>\u3002\u4e86\u89e3\u5e76\u9002\u5e94\u4e0d\u540c\u73af\u5883\u548c\u573a\u666f\u4e0b\u7684\u6362\u884c\u65b9\u5f0f\uff0c\u5bf9\u4e8e\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\u548c\u6539\u5584\u6587\u672c\u7684\u53ef\u8bfb\u6027\u81f3\u5173\u91cd\u8981\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<ol>\n<li>\n<p><strong>\u5982\u4f55\u5728project\u4e2d\u5b9e\u73b0\u6587\u5b57\u6362\u884c\uff1f<\/strong><br \/>\n\u5728project\u4e2d\uff0c\u53ea\u9700\u8981\u4f7f\u7528\u6362\u884c\u7b26\uff08Enter\u952e\uff09\u5373\u53ef\u5b9e\u73b0\u6587\u5b57\u7684\u6362\u884c\u3002\u6bcf\u8f93\u5165\u4e00\u884c\u6587\u5b57\u540e\uff0c\u6309\u4e0bEnter\u952e\u5373\u53ef\u81ea\u52a8\u6362\u884c\uff0c\u786e\u4fdd\u6bcf\u4e00\u884c\u90fd\u9002\u5e94\u5c4f\u5e55\u7684\u5bbd\u5ea6\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5982\u4f55\u63a7\u5236project\u4e2d\u6587\u5b57\u7684\u6362\u884c\u4f4d\u7f6e\uff1f<\/strong><br \/>\n\u8981\u63a7\u5236project\u4e2d\u6587\u5b57\u7684\u6362\u884c\u4f4d\u7f6e\uff0c\u53ef\u4ee5\u4f7f\u7528\u8f6f\u6362\u884c\u548c\u786c\u6362\u884c\u4e24\u79cd\u65b9\u5f0f\u3002\u8f6f\u6362\u884c\u662f\u5728\u9700\u8981\u6362\u884c\u7684\u5730\u65b9\u8f93\u5165\u4e00\u4e2a\u7a7a\u683c\u6216\u8fde\u5b57\u7b26\uff0c\u53ef\u4ee5\u6839\u636e\u9700\u8981\u8c03\u6574\u4f4d\u7f6e\u3002\u786c\u6362\u884c\u662f\u5728\u9700\u8981\u6362\u884c\u7684\u5730\u65b9\u4f7f\u7528\u624b\u52a8\u6362\u884c\u7b26\uff0c\u53ef\u4ee5\u5c06\u6587\u5b57\u4ece\u4e00\u884c\u5f3a\u5236\u8f6c\u79fb\u5230\u4e0b\u4e00\u884c\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u6709\u6ca1\u6709\u5176\u4ed6\u9009\u9879\u53ef\u4ee5\u63a7\u5236project\u4e2d\u6587\u5b57\u7684\u6362\u884c\u5462\uff1f<\/strong><br \/>\n\u662f\u7684\uff0cproject\u4e2d\u8fd8\u6709\u5176\u4ed6\u9009\u9879\u53ef\u4ee5\u63a7\u5236\u6587\u5b57\u7684\u6362\u884c\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u6587\u672c\u5bf9\u9f50\u5de5\u5177\uff0c\u5728\u6587\u5b57\u8fbe\u5230\u4e00\u884c\u7684\u672b\u5c3e\u65f6\u5c06\u5176\u81ea\u52a8\u6362\u884c\u5230\u4e0b\u4e00\u884c\u3002\u6b64\u5916\uff0c\u8fd8\u53ef\u4ee5\u4f7f\u7528\u7f29\u8fdb\u5de5\u5177\uff0c\u5c06\u6587\u5b57\u8fdb\u884c\u9002\u5f53\u7684\u7f29\u8fdb\uff0c\u4ee5\u4fbf\u66f4\u597d\u5730\u7ec4\u7ec7\u548c\u6392\u5217\u4f60\u7684\u6587\u5b57\u5185\u5bb9\u3002\u8bb0\u5f97\u8981\u6839\u636e\u9700\u6c42\u8fdb\u884c\u5408\u9002\u7684\u8c03\u6574\uff0c\u4ee5\u4f7f\u6587\u672c\u6613\u4e8e\u9605\u8bfb\u548c\u7406\u89e3\u3002<\/p>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"\u5728\u5904\u7406\u7535\u8111\u6587\u6863\u6216\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\uff0c\u5b9e\u73b0\u6587\u5b57\u6362\u884c\u9700\u8981\u638c\u63e1\u4e0d\u540c\u73af\u5883\u4e0b\u7684\u5177\u4f53\u65b9\u6cd5\u3002\u5728\u6587\u672c\u7f16\u8f91\u5668\u3001\u7f16\u7a0b\u8bed\u8a00\u3001\u4ee5\u53ca\u5404\u79cd\u5e94\u7528\u7a0b\u5e8f [&hellip;]","protected":false},"author":3,"featured_media":139621,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/139617"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=139617"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/139617\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/139621"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=139617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=139617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=139617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}