{"id":2876,"date":"2018-06-17T16:19:08","date_gmt":"2018-06-17T08:19:08","guid":{"rendered":"http:\/\/www.xttblog.com\/?p=2876"},"modified":"2018-06-17T16:19:08","modified_gmt":"2018-06-17T08:19:08","slug":"%e8%a7%a3%e5%86%b3-idea-%e6%8f%90%e7%a4%ba-this-file-is-indented-with-tabs-instead-of-4-spaces-%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=2876","title":{"rendered":"\u89e3\u51b3 idea \u63d0\u793a This file is indented with tabs instead of 4 spaces \u95ee\u9898"},"content":{"rendered":"<p>\n\t\u4ee5\u524d\u6ca1\u600e\u4e48\u6ce8\u610f\uff0c\u6700\u8fd1\u65b0\u6765\u7684\u540c\u4e8b\u5b89\u88c5\u65b0\u7684 idea \u5f00\u53d1\u5de5\u5177\u540e\uff0c\u5728\u6253\u5f00 Maven \u7684 pom.xml \u65f6\u63d0\u793a\uff1aThis file is indented with tabs instead of 4 spaces\u3002\u4e0b\u9762\u6211\u8bf4\u8bf4\u8fd9\u4e2a\u95ee\u9898\u7684\u89e3\u51b3\u529e\u6cd5\u3002\n<\/p>\n<p>\n\t<img decoding=\"async\" alt=\"This file is indented with tabs instead of 4 spaces\" src=\"http:\/\/ocuzluml6.bkt.clouddn.com\/tabs-4-spaces.png\" style=\"width: 1437px;height: 84px\" \/>\n<\/p>\n<p>\n\t\u8fd9\u4e2a\u95ee\u9898\u7684\u89e3\u51b3\u529e\u6cd5\u5f88\u7b80\u5355\uff0c\u70b9\u51fb Indent with 4 spaces \u5c31\u4e0d\u4f1a\u6709\u8fd9\u4e2a\u63d0\u793a\u4e86\u3002\n<\/p>\n<p>\n\t\u4f46\u662f\u4e0b\u6b21\u65b0\u7684\u9879\u76ee\uff0c\u6216\u5bfc\u5165\u5176\u5b83\u9879\u76ee\u3002\u6216\u8005\u6362\u4e2a\u5de5\u4f5c\u7a7a\u95f4\u7684\u5176\u4ed6\u9879\u76ee\u53ef\u80fd\u5c31\u53c8\u4f1a\u51fa\u73b0\u8fd9\u4e2a\u63d0\u793a\u3002\n<\/p>\n<p>\n\t\u4e0b\u9762\u8bf4\u8bf4\u4e00\u52b3\u6c38\u9038\u7684\u89e3\u51b3\u529e\u6cd5\u3002\n<\/p>\n<p>\n\tFile -&gt; Settings -&gt; Editor -&gt; Code Style -&gt; Java -&gt; Tabs and Indents -&gt; Use tab character\u3002\n<\/p>\n<p>\n\t<img decoding=\"async\" alt=\"This file is indented with tabs instead of 4 spaces\" src=\"http:\/\/ocuzluml6.bkt.clouddn.com\/tabs-4-spaces-settings.png\" style=\"width: 1020px;height: 671px\" \/>\n<\/p>\n<p>\n\t\u7531\u4e8e\u6211\u70b9\u8fc7 Apply\uff0c\u6240\u4ee5\u5b83\u662f\u7070\u8272\u7684\u3002\u70b9\u4e86 Apply \u540e\uff0c\u70b9 Ok \u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<!-- <audio autoplay=\"autoplay\" height=\"100\" width=\"100\" hidden=\"true\"><source src=\"https:\/\/c.coka.la\/orAvPR.mp3\" type=\"audio\/mp3\"\/><\/audio><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/ws3.sinaimg.cn\/large\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/> --><p><!-- <img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/>--><img decoding=\"async\" src=\"https:\/\/saas.51autoparts.cn\/api\/admin\/sys-file\/oss\/file?fileName=84db51f8561e448f9a4fda2eff0811f9.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/><\/p><p>\u6700\u540e\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u4e2a\u4eba\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e1a\u4f59\u8349\uff08yyucao\uff09\uff01<b>\u53ef\u52a0\u4f5c\u8005\u5fae\u4fe1\u53f7\uff1a<font color=\"red\">xttblog2<\/font>\u3002\u5907\u6ce8\uff1a\u201c1\u201d\uff0c\u6dfb\u52a0\u535a\u4e3b\u5fae\u4fe1\u62c9\u4f60\u8fdb\u5fae\u4fe1\u7fa4\u3002\u5907\u6ce8\u9519\u8bef\u4e0d\u4f1a\u540c\u610f\u597d\u53cb\u7533\u8bf7\u3002<\/b>\u518d\u6b21\u611f\u8c22\u60a8\u7684\u5173\u6ce8\uff01\u540e\u7eed\u6709\u7cbe\u5f69\u5185\u5bb9\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u7ed9\u60a8\uff01\u539f\u521b\u6587\u7ae0\u6295\u7a3f\u8bf7\u53d1\u9001\u81f3532009913@qq.com\u90ae\u7bb1\u3002\u5546\u52a1\u5408\u4f5c\u4e5f\u53ef\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\u8fdb\u884c\u8054\u7cfb\uff01<\/p><p>\u672c\u6587\u539f\u6587\u51fa\u5904\uff1a<a href=\"https:\/\/www.xttblog.com\">\u4e1a\u4f59\u8349<\/a>\uff1a &raquo; <a href=\"https:\/\/www.xttblog.com\/?p=2876\">\u89e3\u51b3 idea \u63d0\u793a This file is indented with tabs instead of 4 spaces \u95ee\u9898<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u524d\u6ca1\u600e\u4e48\u6ce8\u610f\uff0c\u6700\u8fd1\u65b0\u6765\u7684\u540c\u4e8b\u5b89\u88c5\u65b0\u7684 idea \u5f00\u53d1\u5de5\u5177\u540e\uff0c\u5728\u6253\u5f00 Maven \u7684 pom.xml \u65f6\u63d0\u793a\uff1a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[787,466,345,342,344],"class_list":["post-2876","post","type-post","status-publish","format-standard","hentry","category-java","tag-eclipse","tag-myeclipse"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/2876","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2876"}],"version-history":[{"count":1,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/2876\/revisions"}],"predecessor-version":[{"id":2877,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/2876\/revisions\/2877"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2876"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2876"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}