{"id":203506,"date":"2025-05-22T10:35:54","date_gmt":"2025-05-22T02:35:54","guid":{"rendered":"https:\/\/server.hk\/cnblog\/203506\/"},"modified":"2025-05-22T10:35:54","modified_gmt":"2025-05-22T02:35:54","slug":"intellij-idea-%e4%bb%a3%e7%a0%81%e6%96%87%e4%bb%b6%e5%85%a8%e5%8f%98%e6%a9%99%e8%89%b2%ef%bc%8c%e6%98%af%e6%80%8e%e4%b9%88%e5%9b%9e%e4%ba%8b%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/203506\/","title":{"rendered":"IntelliJ IDEA \u4ee3\u7801\u6587\u4ef6\u5168\u53d8\u6a59\u8272\uff0c\u662f\u600e\u4e48\u56de\u4e8b\uff1f"},"content":{"rendered":"<p><b><\/b>     <\/p>\n<h1>IntelliJ IDEA \u4ee3\u7801\u6587\u4ef6\u5168\u53d8\u6a59\u8272\uff0c\u662f\u600e\u4e48\u56de\u4e8b\uff1f<\/h1>\n<p>\u672c\u7bc7\u6587\u7ae0\u5411\u5927\u5bb6\u4ecb\u7ecd\u300aIntelliJ IDEA \u4ee3\u7801\u6587\u4ef6\u5168\u53d8\u6a59\u8272\uff0c\u662f\u600e\u4e48\u56de\u4e8b\uff1f\u300b\uff0c\u4e3b\u8981\u5305\u62ec\uff0c\u5177\u6709\u4e00\u5b9a\u7684\u53c2\u8003\u4ef7\u503c\uff0c\u9700\u8981\u7684\u670b\u53cb\u53ef\u4ee5\u53c2\u8003\u4e00\u4e0b\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20241110\/17312195156730503b05e3d.jpg\" class=\"aligncenter\"><\/p>\n<p><strong>IntelliJ IDEA \u4ee3\u7801\u6587\u4ef6\u5168\u53d8\u6a59\u8272\uff0c\u8fd9\u662f\u600e\u4e48\u56de\u4e8b\uff1f<\/strong><\/p>\n<p>\u5728\u4f7f\u7528 IntelliJ IDEA \u65f6\uff0c\u4f60\u53ef\u80fd\u4f1a\u9047\u5230\u4ee3\u7801\u6587\u4ef6\u7a81\u7136\u5168\u90e8\u53d8\u6210\u6a59\u8272\u7684\u60c5\u51b5\u3002\u8fd9\u662f\u600e\u4e48\u56de\u4e8b\u5462\uff1f<\/p>\n<p><strong>\u95ee\u9898\uff1a<\/strong><\/p>\n<p>\u4e3a\u4ec0\u4e48\u6211\u7684\u4ee3\u7801\u6587\u4ef6\u5728 IntelliJ IDEA \u4e2d\u53d8\u6210\u6a59\u8272\u4e86\uff1f<\/p>\n<p><strong>\u7b54\u6848\uff1a<\/strong><\/p>\n<p>\u6a59\u8272\u7684\u4ee3\u7801\u8868\u793a\u8f93\u51fa\u6587\u4ef6\u5939\u3002\u5f53 Java \u7f16\u8bd1\u5668\u7f16\u8bd1\u4ee3\u7801\u65f6\uff0c\u5b83\u4f1a\u5c06\u751f\u6210\u7684 class \u6587\u4ef6\u5b58\u50a8\u5728\u4e0e\u6e90\u6587\u4ef6\u540c\u540d\u7684\u8f93\u51fa\u6587\u4ef6\u5939\u4e2d\u3002<\/p>\n<p><strong>\u5177\u4f53\u539f\u56e0\uff1a<\/strong><\/p>\n<p>\u5f53\u4f60\u5728 Project \u89c6\u56fe\u4e2d\u53f3\u952e\u5355\u51fb\u9879\u76ee\u5e76\u9009\u62e9\u201cMark Directory as\u201d &gt; \u201cOutput Directory\u201d\u65f6\uff0c\u5c31\u4f1a\u521b\u5efa\u4e00\u4e2a\u8fd9\u6837\u7684\u8f93\u51fa\u6587\u4ef6\u5939\u3002\u8fd9\u6709\u52a9\u4e8e\u7f16\u8bd1\u5668\u5feb\u901f\u627e\u5230\u7c7b\u6587\u4ef6\uff0c\u800c\u65e0\u9700\u641c\u7d22\u6574\u4e2a\u9879\u76ee\u3002<\/p>\n<p><strong>\u5f71\u54cd\uff1a<\/strong><\/p>\n<p>\u4e00\u822c\u6765\u8bf4\uff0c\u6a59\u8272\u7684\u4ee3\u7801\u4e0d\u4f1a\u5f71\u54cd\u9879\u76ee\u7684\u6b63\u5e38\u8fd0\u884c\u3002\u7136\u800c\uff0c\u5982\u679c\u4f60\u770b\u5230\u4ee3\u7801\u4e2d\u6709\u672a\u8bc6\u522b\u7684\u7c7b\u6216\u65b9\u6cd5\uff0c\u8bf7\u68c0\u67e5\u8f93\u51fa\u6587\u4ef6\u5939\u4ee5\u786e\u4fdd\u5b83\u4eec\u5df2\u6b63\u786e\u7f16\u8bd1\u3002<\/p>\n<p><strong>\u89e3\u51b3\u65b9\u6cd5\uff1a<\/strong><\/p>\n<p>\u5982\u679c\u4f60\u53d1\u73b0\u6a59\u8272\u7684\u4ee3\u7801\u5bf9\u4f60\u9020\u6210\u4e0d\u4fbf\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u7981\u7528\u6b64\u529f\u80fd\uff1a<\/p>\n<ol>\n<li>\u5728 IntelliJ IDEA \u4e2d\uff0c\u4f9d\u6b21\u8f6c\u5230\u201cFile\u201d &gt; \u201cSettings\u201d &gt; \u201cEditor\u201d &gt; \u201cColors &amp; Fonts\u201d\u3002<\/li>\n<li>\u5728\u201cScheme\u201d\u4e0b\u62c9\u5217\u8868\u4e2d\uff0c\u9009\u62e9\u4f60\u7684\u989c\u8272\u4e3b\u9898\u3002<\/li>\n<li>\u5728\u201cFile Types\u201d\u9009\u9879\u5361\u4e2d\uff0c\u5c55\u5f00\u201cJava\u201d\u90e8\u5206\u3002<\/li>\n<li>\u53d6\u6d88\u9009\u4e2d\u201cClass Files\u201d\u65c1\u8fb9\u7684\u201cOutput Directory\u201d\u6846\u3002<\/li>\n<\/ol>\n<p>\u8fd9\u5c06\u4f7f\u8f93\u51fa\u6587\u4ef6\u5939\u4e2d\u7684\u4ee3\u7801\u6062\u590d\u4e3a\u9ed8\u8ba4\u989c\u8272\u3002<\/p>\n<p>\u7406\u8bba\u8981\u638c\u63e1\uff0c\u5b9e\u64cd\u4e0d\u80fd\u843d\uff01\u4ee5\u4e0a\u5173\u4e8e\u300aIntelliJ IDEA \u4ee3\u7801\u6587\u4ef6\u5168\u53d8\u6a59\u8272\uff0c\u662f\u600e\u4e48\u56de\u4e8b\uff1f\u300b\u7684\u8be6\u7ec6\u4ecb\u7ecd\uff0c\u5927\u5bb6\u90fd\u638c\u63e1\u4e86\u5427\uff01\u5982\u679c\u60f3\u8981\u7ee7\u7eed\u63d0\u5347\u81ea\u5df1\u7684\u80fd\u529b\uff0c\u90a3\u4e48\u5c31\u6765\u5173\u6ce8\u516c\u4f17\u53f7\u5427\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IntelliJ IDEA \u4ee3\u7801&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4925],"tags":[],"class_list":["post-203506","post","type-post","status-publish","format-standard","hentry","category-4925"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/203506","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=203506"}],"version-history":[{"count":0,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/203506\/revisions"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=203506"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=203506"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=203506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}