{"id":34738,"date":"2014-01-31T21:36:53","date_gmt":"2014-01-31T12:36:53","guid":{"rendered":"https:\/\/blog.jetbrains.com\/jp\/?p=383"},"modified":"2017-09-28T15:46:25","modified_gmt":"2017-09-28T06:46:25","slug":"383","status":"publish","type":"post","link":"https:\/\/blog.jetbrains.com\/ja\/2014\/01\/31\/383\/","title":{"rendered":"IntelliJ IDEA 13\u3067\u306fEclipse\u306e\u30b3\u30fc\u30c9\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u8a2d\u5b9a\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u304c\u53ef\u80fd\u306b"},"content":{"rendered":"\u540c\u3058\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5185\u3067\u8907\u6570\u306eIDE\u304c\u4f7f\u308f\u308c\u308b\u306e\u306f\u73cd\u3057\u3044\u3053\u3068\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u5404\u81ea\u304c\u597d\u307f\u306eIDE\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u306f\u5927\u4e8b\u306a\u3053\u3068\u3067\u3059\u3002\u3057\u304b\u3057\u5171\u540c\u4f5c\u696d\u3092\u3059\u308b\u4e0a\u3067\u3001IDE\u306e\u6df7\u5728\u306f\u3057\u3070\u3057\u3070\u56f0\u96e3\u3092\u62db\u304d\u307e\u3059\u3002\u4e2d\u3067\u3082\u826f\u304f\u554f\u984c\u3068\u3057\u3066\u3042\u304c\u308b\u306e\u304c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5168\u4f53\u3067\u7d71\u4e00\u3059\u3079\u304d\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30b9\u30bf\u30a4\u30eb\u3067\u3059\u3002\r\n\r\nEclipse Code Formatter\u3068\u3044\u3046\u4eba\u6c17\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u3046\u3068\u540d\u524d\u306e\u901a\u308aIntelliJ IDEA\u3067Eclipse\u306e\u30b3\u30fc\u30c9\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u9069\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306fEclipse\u306eAPI\u3092\u4f7f\u3046\u305f\u3081\u3001\u4ed6\u306e\u4eba\u304cEclipse\u3067\u7de8\u96c6\u3057\u305f\u30b3\u30fc\u30c9\u306b\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u5408\u308f\u305b\u308b\u3068\u3044\u3046\u76ee\u7684\u306f\u5341\u5206\u306b\u679c\u305f\u3057\u307e\u3059\u3002\u3057\u304b\u3057\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u3084\u30b3\u30fc\u30c9\u751f\u6210\u7b49\u3092\u4f7f\u3046\u5834\u9762\u3067\u306f\u3053\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u50cd\u304d\u307e\u305b\u3093\u3002\r\n\r\n\u3057\u304b\u3057IDEA 13\u3067\u306f\u3082\u3046\u5fc3\u914d\u7121\u7528\u3067\u3059\u3002\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u3046\u3053\u3068\u306a\u304fEclipse\u306e\u30b3\u30fc\u30c9\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u8a2d\u5b9a\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3084\u308a\u65b9\u306f\u7c21\u5358\u3067\u3001Eclipse\u3067[Preferences \u2192 Java \u2192 Code Style \u2192 Formatter\u2192 Export All]\u3088\u308aXML\u30d5\u30a1\u30a4\u30eb\u306b\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u5b9a\u7fa9\u3092\u66f8\u304d\u51fa\u3057\u3001IntelliJ IDEA\u3088\u308a[Settings \u2192 Code Style \u2192 Java\u2192\u00a0\u00a0Manage]\u3088\u308a\u305d\u306eXML\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u3060\u3051\u3067\u3059\u3002\r\n\r\n\r\n\r\n\u73fe\u5728\u306e\u3068\u3053\u308d\u3001IntelliJ IDEA\u306f\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u9805\u76ee\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059:\r\n\r\n\tGeneral\r\n\r\n\tRight margin, Formatter on\/off tags\r\n\tIndentation\r\n\tIndent size\r\n\tUsage of \u2018Tab\u2019 character\r\n\tUsage of Tab only for leading indentation (Smart Tabs)\r\n\tIndent \u2018case\u2019 branches from \u2018switch\u2019\r\n\tIndent class members\r\n\tKeep comment at first column\r\n\r\n\r\n\tSpaces (Java)\r\n\r\n\tBefore\/after comma (as set for Eclipse method declaration parameters)\r\n\tAfter comma in type arguments\r\n\tWithin array initializer braces\r\n\tWithin brackets (in array reference)\r\n\tWithin parentheses of: annotation, \u2018for\u2019, \u2018if\u2019, \u2018catch\u2019 \u2019while\u2019, \u2019switch\u2019, method, empty method, parenthesized expression, method call, type cast, \u2018synchronized\u2019\r\n\tBefore parentheses of: \u2018try\u2019, \u2018for\u2019, \u2019while\u2019, \u2018switch\u2019, method, \u2019if\u2019, \u2018catch\u2019, method, method call, \u2018synchronized\u2019.\r\n\tAfter type cast\r\n\tAround unary, assignment operators (if it\u2019s set for \u2018before\u2019 and \u2018after\u2019 in Eclipse).\r\n\tBefore opening brace of: array initializer, \u2018switch\u2019\r\n\tBefore \u2018?\u2019 in conditional expression\r\n\tSpace before\/after \u2018:\u2019 in conditional expression\r\n\tSpace around binary operators (a single Eclipse setting is mapped to multiple IntelliJ IDEA\u2019s settings)\r\n\r\n\r\n\tBlank lines\r\n\r\n\tAround fields and methods\r\n\tBefore\/after package\r\n\tBefore\/after imports\r\n\tBefore method body\r\n\tKeep blank lines in code (number of empty lines to preserve)\r\n\r\n\r\n\tWrapping\r\n\r\n\tNew line before: closing brace in array initializer, \u2018else\u2019 in \u2018if\u2019 statement, \u2018finally\u2019 and \u2018catch\u2019 in \u2018try\u2019 statement, binary operator (if wrapped)\r\n\tNew line after: \u00a0opening brace in array initializer\r\n\tSpecial \u2018else if\u2019 treatment (compact \u2018else if\u2019)\r\n\tKeep simple blocks in one line\r\n\tKeep control statements in one line\r\n\r\n\r\n\tAlignment of: array initializer expressions, arguments in method declarations and calls, field declarations, extends list, assignments, binary expressions, \u2018throws\u2019 clause, resources in \u2018try\u2019.\r\n\tBrace style for: code blocks, methods and classes\r\n\tJavaDoc\r\n\r\n\tEnable JavaDoc formatting\r\n\tBlank lines in JavaDoc\r\n\r\n\r\n\r\n\u6ce8\u610f\u3057\u3066\u3044\u305f\u3060\u304d\u305f\u3044\u306e\u306fIntelliJ IDEA\u3068Eclipse\u306e\u30b3\u30fc\u30c9\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u5b9a\u7fa9\u306f\u6839\u672c\u7684\u306b\u7570\u306a\u308b\u305f\u3081\u3001\u5b8c\u5168\u306a\u30de\u30c3\u30d4\u30f3\u30b0\u306f\u3067\u304d\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u4f8b\u3048\u3070IntelliJ IDEA\u3067\u2018(\u2018\u306e\u5f8c\u306b\u30b9\u30da\u30fc\u30b9\u3092\u7f6e\u304d\u3001\u2018)\u2019\u306e\u524d\u306b\u30b9\u30da\u30fc\u30b9\u3092\u7f6e\u304b\u306a\u3044\u3068\u3044\u3046\u8a2d\u5b9a\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u3057\u304b\u3057\u306a\u304c\u3089\u3001IntelliJ IDEA\u306e\u30c1\u30fc\u30e0\u3067\u306f\u76f8\u4e92\u4e92\u63db\u6027\u3092\u6539\u5584\u3059\u308b\u305f\u3081\u7d99\u7d9a\u7684\u306b\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u305d\u3057\u3066\u7686\u69d8\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u304a\u5f85\u3061\u3057\u3066\u304a\u308a\u307e\u3059\u3002\r\n\r\n\u307e\u305f\u3001\u8fd1\u3005\u4ee5\u4e0b\u306e\u6a5f\u80fd\u3092\u5b9f\u88c5\u4e88\u5b9a\u3067\u3059:\r\n\r\n\t\u3088\u308a\u591a\u304f\u306e\u8a2d\u5b9a\u9805\u76ee(\u7686\u69d8\u306e\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u306b\u3088\u308a\u4f55\u3092\u512a\u5148\u3059\u3079\u304d\u304b\u6c7a\u3081\u3066\u3044\u304d\u307e\u3059)\r\n\t\u3088\u308a\u591a\u304f\u306e\u8a00\u8a9e\r\n\t\u8a2d\u5b9a\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3001\u30a4\u30f3\u30dd\u30fc\u30c8\u306a\u3057\u306b.settings\/org.eclipse.jdt.core.prefs\u3092\u76f4\u63a5\u8aad\u307f\u8fbc\u307f\u53ef\u80fd\u306b\u3059\u308b\r\n\t\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u898f\u7d04(\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u30d7\u30ec\u30d5\u30a3\u30af\u30b9\u306a\u3069)\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\r\n\t\u30b3\u30fc\u30c9\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u3084\u3001\u30a4\u30f3\u30dd\u30fc\u30c8\u8a2d\u5b9a\u306e\u30aa\u30fc\u30ac\u30ca\u30a4\u30ba\r\n\r\n\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u306f\u63b2\u793a\u677f\u3078\u3001\u4e0d\u5177\u5408\u304c\u3042\u308c\u3070YouTrack\u3078\u304a\u9858\u3044\u3044\u305f\u3057\u307e\u3059\u3002\r\n\r\nDevelop with Pleasure!\r\n\r\n\u539f\u6587","protected":false},"excerpt":{"rendered":"\u540c\u3058\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5185\u3067\u8907\u6570\u306eIDE\u304c\u4f7f\u308f\u308c\u308b\u306e\u306f\u73cd\u3057\u3044\u3053\u3068\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u5404\u81ea\u304c\u597d\u307f\u306eIDE\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u306f\u5927\u4e8b\u306a\u3053\u3068\u3067\u3059\u3002\u3057\u304b\u3057\u5171\u540c\u4f5c\u696d\u3092\u3059\u308b\u4e0a\u3067\u3001IDE\u306e\u6df7\u5728\u306f\u3057\u3070\u3057\u3070\u56f0\u96e3\u3092\u62db\u304d\u307e\u3059\u3002\u4e2d\u3067\u3082\u826f\u304f\u554f\u984c\u3068\u3057\u3066\u3042\u304c\u308b\u306e\u304c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5168\u4f53\u3067\u7d71\u4e00\u3059\u3079\u304d\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30b9\u30bf\u30a4\u30eb\u3067\u3059\u3002Eclipse Code Formatter\u3068\u3044\u3046\u4eba\u6c17\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u3046\u3068\u540d\u524d\u306e\u901a\u308aIntelliJ IDEA\u3067E","protected":false},"author":{"name":"Yusuke","link":"https:\/\/blog.jetbrains.com\/ja\/author\/yusuke-yamamoto"},"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[],"tags":[],"cross-post-tag":[],"acf":[],"featured_image":null,"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/posts\/34738"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/users\/215"},{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/users\/215"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/comments?post=34738"}],"version-history":[{"count":0,"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/posts\/34738\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/media?parent=34738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/categories?post=34738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/tags?post=34738"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/cross-post-tag?post=34738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}