Commit Graph

262 Commits

Author SHA1 Message Date
peter e4a1bb0b1c IDEA-83774 Completion for anonymous class is incorrectly aligned when class is not accessible in the scope 2012-03-30 20:27:28 +02:00
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
peter d165428546 another fix for too eager casting in completion 2012-03-15 17:20:43 +04: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 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
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
peter 13e2e96658 make chained call completion work with names like Assert or Arrays 2012-02-21 19:20:14 +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
peter 8313dbbbda one more fix for caret position when choosing a class suggestion by dot 2012-02-09 18:36:22 +01:00
peter 8078ea5689 correctly place dot when chosen a class name in completion with it 2012-02-02 16:11:07 +01:00
peter 5eb09ef3fa completion tests should reflect real-life item order 2012-02-01 20:56:02 +01:00
peter 9fd14da9af IDEA-79862 Java: auto-insert space after completing "extends" and "implements" 2012-02-01 20:56:01 +01:00
peter 57a2a49892 IDEA-80583 Wrong suggestion in qualified field type 2012-01-31 18:30:26 +01:00
peter 5d40c34976 don't insert pair ) when choosing a lookup item by ( before an identifier 2012-01-30 17:07:31 +01:00
peter 685f19cebf skip inserting diamond when choosing class completion variant with ( 2012-01-30 17:07:30 +01:00
peter 2dd04b9c01 IDEA-80186 Completion for 'continue' always inserts semicolon 2012-01-24 13:33:39 +01:00
peter ef211da585 when lexicographic completion sorting is enabled, really sort the items lexicographically, without all the priority/grouping/etc stuff (IDEA-79651) 2012-01-09 19:36:46 +01:00
peter d0f7824299 don't insert a space after a keyword if there's already one 2012-01-05 20:38:46 +01:00
peter 8720fb18fe don't overwrite trailing space in java & groovy keyword completion 2012-01-01 23:14:31 +01:00
peter 4ba1cc4d29 IDEA-79381 Exclude from Import not working for non-static inner classes in excluded packages 2011-12-29 17:46:51 +01:00
peter a48a9f5efe don't suggest expected type members twice when they are statically imported (IDEA-79426) 2011-12-29 16:49:25 +01:00
peter 784c2f101a IDEA-69328 Code completion in switch...case: complete other possible values from already ref'd class 2011-12-27 18:17:43 +01:00
peter 7ef62f3655 IDEA-69897 Smart complete missing enum values in switch/case statements 2011-12-27 16:00:13 +01:00
peter 630cfaa379 IDEA-79271 Smart completion in ARM-try block produces trailing semicolon 2011-12-27 16:00:13 +01:00
peter 4a5a55c409 a test for smart completion in try-with-resources 2011-12-23 18:48:11 +01:00
peter b35e73487a IDEA-79246 IDEA completion suggest raw type for element of array of typed class 2011-12-23 18:28:40 +01:00
peter 2ac6b0dabf IDEA-78870 Idea imports unnecessary class when I'm creating anonymous class 2011-12-20 13:23:58 +01:00
peter dc71135134 IDEA-78033 do not sugesst "class" as possible name for variable 2011-12-16 12:02:51 +01:00
peter be287aed95 don't suggest two same-named fields from super classes when one overrides the other 2011-11-22 16:24:10 +01:00
peter 5a79031d3f when importing a class via completion, don't indent the next line if it starts with a cast 2011-11-21 18:53:09 +01:00
peter 613e6b58a0 IDEA-26138 Import hint while typing: be more smart in "extends" - context 2011-11-21 17:47:44 +01:00