Commit Graph
1250 Commits
Author SHA1 Message Date
peter baee22d965 expected type should always be at the top of the lookup in smart completion after new 2012-03-27 20:30:59 +02:00
peter 14893c2f39 IDEA-83580 Unnecessary parentheses around call qualifier 2012-03-27 20:30:59 +02:00
Konstantin Bulenkov d84822f977 +forName 2012-03-26 12:28:27 +02:00
Konstantin Bulenkov ab3a58a664 reflection fix + tests 2012-03-23 18:06:28 +01:00
anna 939ed2bede introduce field: use precalculated settings (IDEA-83180)
(cherry picked from commit 019be99b8e2b558e2014565a15dd29f0202b4653)
2012-03-21 18:02:13 +01:00
anna 8cea94f9c3 optimize imports: leave on demand imports untouched when no corresponding dirs can be found in the resolve scope (IDEA-82944) [peter]
(cherry picked from commit 61c42a9b1cb1fa712db584b8df5bc707cf4fb7ea)
2012-03-21 18:02:11 +01:00
anna 7bd0e144e9 change class signature should not touch instanceof statements (IDEA-82661) [roma] (cherry picked from commit dcd5e50) 2012-03-21 18:02:04 +01:00
anna caf67194d7 IDEA-82857 fix javadoc during delegate with default parameter (cherry picked from commit d6ac82f) 2012-03-21 18:01:59 +01:00
Konstantin Bulenkov b44b7e226b java file structure hierarchy tests 2012-03-19 19:04:39 +01:00
Maxim Shafirov 7b4b682836 NotNullValues mustn't end up in equivalence classes table. 2012-03-16 21:05:10 +04:00
peter efab68f1ca be optimistic, even complex CFG may result in fast DFA 2012-03-16 19:29:43 +04:00
Bas Leijdekkers ec1f3e7655 IDEA-82925 ('Surround with cast' for conditional, polyadic and assignment expressions should parenthesize those expressions) 2012-03-16 13:14:21 +01:00
Roman Shevchenko 81f0d72e8f [ann] IDEA-82436 (check unclosed non-empty char literals) 2012-03-15 19:08:59 +01:00
Maxim Shafirov f4e9d475a3 IDEA-77484 + tests 2012-03-15 19:13:32 +04:00
peter d165428546 another fix for too eager casting in completion 2012-03-15 17:20:43 +04:00
anna 08585afbb4 deprecation inspection: check non default constructors used in anonymous classes (IDEA-82794) 2012-03-15 11:29:56 +01:00
Dmitry Boulytchev 0cc4c5a1ed Fixed class parsing (compile-server). 2012-03-14 20:54:59 +04:00
Dmitry Boulytchev b215e8557a Fixed class parsing (compile-server). 2012-03-14 20:40:07 +04: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
Eugene Zhuravlev f737d4f5c2 when abstract method is removed recompile all overriding methods 2012-03-13 17:16:59 +01:00
anna 3c5d7a568d push down from interface to abstract class fixed (IDEA-82286) 2012-03-12 12:43:05 +01:00
anna fd6b282da2 introduce vararg variable from the selected enumeration (IDEA-82508) 2012-03-11 19:00:58 +01: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
anna 5fa5c0f598 correct field's class instance when move instance method (IDEA-82103) 2012-03-01 20:22:02 +01:00
anna a6244c8472 restore remember last place for introduce field (IDEA-82084) 2012-03-01 20:22:02 +01: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 5a9e5f5acc redundant cast: check only array access for write separately (IDEA-82003) 2012-02-29 14:10:29 +01: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
Konstantin Bulenkov 76ca1f36bf do not fall into inner classes if there is a good variant on the initial level 2012-02-27 20:17:11 +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