Commit Graph

609 Commits

Author SHA1 Message Date
anna 08585afbb4 deprecation inspection: check non default constructors used in anonymous classes (IDEA-82794) 2012-03-15 11:29:56 +01:00
anna 2c7d491f4b incorrect default deprecation is used (IDEA-82721) 2012-03-14 17:24:57 +01:00
peter 205d9f807e don't cast when instaceofing List<String> to ArrayList 2012-03-14 14:40:14 +04:00
peter e383348498 IDEA-26763 Auto-complete Generics on the RHS (now in basic completion as well) 2012-03-09 23:16:01 +04:00
peter ed3f7f1132 position caret to the next probable editing location after inserting type arguments (IDEA-26763) 2012-03-09 23:05:53 +04:00
peter 404d2487f1 suggest to fill all the required type arguments at once (IDEA-26763) 2012-03-09 22:30:24 +04:00
peter 37e6704812 suggest collection utility methods in basic completion on non-empty prefix 2012-03-09 21:05:12 +04:00
peter d796ecea55 normal methods should have higher priority than Collections.emptyList 2012-03-09 20:39:06 +04:00
peter c4ed6f3022 IDEA-68584 Completion should detect return type and autocast in some cases 2012-03-09 15:16:40 +04:00
peter 392d90ae1b IDEA-82427 Code Completion produces bad code inside if brackets 2012-03-08 16:50:30 +04:00
peter e51edaedf7 IDEA-50592 'Surround with cast' for binary expressions (e.g. a+b) should parenthesize those expressions 2012-03-08 15:17:42 +04:00
peter f3b09cee3a IDEA-54220 Code Completion for value() method in @interfaces could be added 2012-03-07 20:24:50 +04:00
peter 91fb524a30 IDEA-25267 Smart Completion after continue&break should filter labels 2012-03-07 20:24:50 +04:00
peter c89084affd IDEA-50588 Don't suggest getX when completing setX() parameter (disprefer, actually) 2012-03-06 20:30:18 +04:00
peter 8ec30835fd IDEA-50631 Chaining second smart completion should suggest possible one-element arrays as qualifier 2012-03-06 20:30:18 +04:00
peter 1b19428761 IDEA-79591 Suggest field name in construction parameter name completion 2012-03-05 23:26:29 +04:00
peter 271acba28c IDEA-79863 jUnit 3: class/smart completion of classnames in test-sources should prefer *TestCase classes 2012-03-05 18:50:58 +04:00
peter 413a6df237 IDEA-81966 Accepting completion variant for a generic type with < inserts duplicate angle brackets 2012-02-29 23:39:17 +04:00
anna cf78075c97 allow override method suggestions on method name only 2012-02-29 12:02:19 +01:00
anna eab8b8b456 make create field from parameter available on the method name 2012-02-29 10:38:30 +01:00
peter 4cbb17ac30 a test for skipping lifted items 2012-02-28 19:09:29 +01:00
peter 8f24ff6e79 prefer null and new to the void methods in expression context 2012-02-27 15:08:00 +01:00
anna d2bacb97be collapse fqn in intention text (IDEA-81839) 2012-02-24 16:50:25 +01:00
anna 9c91d9374f add convert switch to if for invalid switch types (IDEA-81580) 2012-02-23 11:50:19 +01:00
anna 519ccb6024 check valueOf signature before use synthetic javadoc (IDEA-81701) 2012-02-23 11:50:18 +01:00
Bas Leijdekkers 0a71148672 Improve quickfix to replace += operator with StringBuilder on left hand side with append() call
now works on java.lang.Appendable and splits concatenated strings into separate append calls
2012-02-22 16:57:49 +01:00
anna 7e2db60abd create constructor parameter from field: suggest to choose fields to create parameters from (IDEA-76417);
insert parameters in "fields" order (IDEA-81634)
2012-02-21 20:56:16 +01:00
peter 13e2e96658 make chained call completion work with names like Assert or Arrays 2012-02-21 19:20:14 +01:00
anna d47214a173 testdata fixed to exclude copyright 2012-02-21 14:07:38 +01:00
anna 5bffdd267c testdata fixed to exclude copyright 2012-02-21 13:49:39 +01:00
anna 1188b58704 do not loose array dimension expressions when converting array types; move caret and selection only in case when no expressions were detected 2012-02-21 12:18:20 +01:00
anna 2471e079a8 rename: override instead of implement for non-abstract methods 2012-02-21 12:18:19 +01:00
Bas Leijdekkers 0d73811b02 EA-33799 (IOE: PsiJavaParserFacadeImpl.createExpressionFromText) 2012-02-18 15:08:14 +01:00
anna 8e7b3a443c add explicit type parameters available for conditional expr (IDEA-1179) 2012-02-17 21:38:34 +01:00
peter 51647b8898 listed templates can be selected by space, move the tests to community 2012-02-15 16:37:49 +01:00
peter fe13245171 suggest to pass several parameters in autopopup 2012-02-15 16:37:48 +01:00
peter ec5f0a171c suggest several parameters when delegating 2012-02-15 16:37:48 +01:00
peter e15612982e don't suggest return after dot 2012-02-15 16:37:48 +01:00
anna c20dfe0a93 do not infer @NotNull for final fields with initializer (IDEA-75616) 2012-02-15 13:10:33 +01:00
anna a829ba2568 ignore parameter for foreach (IDEA-72671) 2012-02-14 18:54:07 +01:00
anna 3fbf03363e testdata fixed 2012-02-14 10:36:59 +01:00
anna 86518ea411 do not highlight unused foreach parameter (IDEA-72671) 2012-02-13 18:41:26 +01:00
Roman Shevchenko 668afd0260 IDEA-81171 (Surround AutoCloseable - initial implementation) 2012-02-12 23:50:22 +01:00
anna ba961d59ad highlight error: access to a private field from a class annotation is not possible 2012-02-10 16:49:46 +01:00
anna cb0442de53 IDEA-76599 Quickfix to change a double literal to a float literal 2012-02-10 14:15:09 +01:00
anna d6fbbdfe30 allow to override non-abstract methods (IDEA-69772) 2012-02-09 18:51:13 +01:00
anna b13cd651dc do not insert initial method comments in delegate with default param value (IDEA-81106) 2012-02-09 18:51:11 +01:00
anna 45654bcffd change signature from usage: new param place: provide reverse based signature transformation when not the same (IDEA-70552) 2012-02-09 18:51:11 +01:00
peter 8313dbbbda one more fix for caret position when choosing a class suggestion by dot 2012-02-09 18:36:22 +01:00
Rustam.Vishnyakov 326012ee8a Custom folding for Ruby (RUBY-7875) and API changes 2012-02-03 13:28:39 +04:00