Commit Graph
615 Commits
Author SHA1 Message Date
Anna.Kozlova 56a364de17 collapse to diamond in more cases (following IDEA-CR-16753) 2016-12-13 15:47:37 +01:00
Anna.Kozlova 9f73d110c8 collapse to diamond during completion: don't walk up from statement (IDEA-162324) 2016-12-09 15:42:52 +01:00
Anna.Kozlova 5098bf49fc completion for private modifier in java 9 interfaces, hide 'static' from completion in java 6 2016-11-28 15:38:48 +01:00
peter 7a8bd02590 IDEA-163834 Smart completion for stream.toArray(..) arg loses "[]" after accepting - when array is of non-static inner class 2016-11-21 18:11:28 +01:00
peter 60e0db2a5c IDEA-163989 IDEA reports Object.getClass() with wrong return type for generic parameters 2016-11-21 16:41:08 +01:00
peter 53a517d779 completion preselection: choose the most relevant among exact prefix items (IDEA-163441) 2016-11-21 16:41:08 +01:00
peter 9ffa29ca2d doPostponedFormatting after formatting in completion after new (IDEA-CR-14717) 2016-10-20 18:16:36 +02:00
Anna.Kozlova 8952680a73 completion: infer Throwable for thrown bounds in completion so more candidates would be applicable (IDEA-162710) 2016-10-20 13:14:23 +02:00
peter 1831c53320 constructor completion: implement anonymous methods after arg live template (IDEA-CR-14717) 2016-10-19 19:27:57 +02:00
peter 5b863d7817 constructor completion: insert the chosen constructor and position the caret accordingly (IDEA-CR-14717) 2016-10-19 19:27:57 +02:00
peter 2824ee87e4 java completion: fix "{} ()" when choosing anonymous class constructor with parameters 2016-10-19 09:23:15 +02:00
peter 283613d591 IDEA-162322 Completion missing for field in copy constructor 2016-10-10 20:49:28 +02:00
peter 72f5f15010 IDEA-157276 Code completion should disprefer primitive names in method calls 2016-09-20 17:14:01 +02:00
peter e040a3d284 IDEA-157893 Autocompletion should not use static import in case of conflict 2016-09-20 16:41:43 +02:00
peter 0517ecae8e don't try to complete anonymous outer class method references (IDEA-CR-13773) 2016-09-14 16:48:21 +02:00
peter 4ca9fb5197 java completion: include outer classes into display name and lookup string after new (IDEA-160509) 2016-09-13 17:55:46 +02:00
peter 2b69e1d7ec IDEA-160958 Smart completion should suggest method references of outer class 2016-09-13 17:55:44 +02:00
peter 7de306e76b IDEA-161034 Code completion should be provided for static method references too 2016-09-13 17:55:44 +02:00
peter 1368f7e7bb IDEA-CR-12743, IDEA-157088 The autocomplete to offer not only the implementation of the interface, but the interface itself (when Object arrays are expected) 2016-08-17 16:24:56 +02:00
peter 6ac6e6712b IDEA-157088 The autocomplete to offer not only the implementation of the interface, but the interface itself 2016-08-03 16:07:38 +02:00
peter 59381e94ae IDEA-158094 Auto-completion popup could display values when autocompleting constants 2016-08-01 15:37:27 +02:00
peter b3ca224f07 IDEA-55146 Autocomplete case inside switch
indent, remove duplicates, restore completion after 'case' (IDEA-CR-12610)
2016-07-28 12:39:54 +02:00
peter 9179fa8fea IDEA-55146 Autocomplete case inside switch 2016-07-27 17:07:11 +02:00
peter c71a1e7136 IDEA-158267 Parameter completion overwrites the following lambda declaration ' () -> {}' 2016-07-27 12:15:56 +02:00
peter 45b1fe1515 IDEA-158416 Deprecated methods are not striked through in implements/override completion 2016-07-25 19:42:49 +02:00
peter 6b92a3aa95 IDEA-158497 "catch" completion of "try {}" 2016-07-25 18:35:39 +02:00
Alexey Kudravtsev db48c64473 use mockJdk18 by default in LightCodeInsightTestCase; remove dependency on swing/net classes in some tests 2016-07-20 15:47:18 +03:00
peter 817581a5ba remove unused test data file 2016-05-24 15:21:50 +02:00
Anna.Kozlova cd63335147 pass parameter type inference policy to produce ? extends for cases when no constraints were found during inference (IDEA-156231) 2016-05-23 16:29:23 +02:00
peter b0bfb5b5d8 java completion: prefer break/continue in likely positions inside loops (IDEA-156192) 2016-05-18 18:07:47 +02:00
peter 6b5f30f0f2 java completion: prefer return inside then/else parts of if (IDEA-156192) 2016-05-18 18:07:47 +02:00
peter e68d6eac26 IDEA-155716 Statically imported method should be higher in the completion list 2016-05-13 17:15:10 +02:00
peter d91c606bfa IDEA-155984 Completion suggests nothing if you try to complete a variable before a call 2016-05-13 16:15:16 +02:00
peter f54e06de93 IDEA-155572 Basic completion could prefer false when boolean is expected 2016-05-13 16:15:14 +02:00
peter 80ad8e9ebd IDEA-154276 Suggest method references to constructors of implementing classes when Supplier<AnAbstractClass> is expected 2016-05-02 08:58:57 +02:00
peter b7f5f72066 IDEA-154336 Missing space after completed @annotation 2016-05-02 08:58:57 +02:00
peter 905527c804 "too generic method" completion sorting criteria shouldn't be applied in void context (IDEA-154635) 2016-05-02 08:58:55 +02:00
peter 48b941daa8 IDEA-154891 IDEA adds unnecessary space/colon on switch case autocompletion 2016-04-29 22:56:20 +02:00
peter 493794856b smart enter during completion inside synchronized expression should put the caret inside the synchronized block 2016-04-29 22:56:19 +02:00
peter 5131d6fadb IDEA-155383 Auto-complete for method references should use the type where the method is declared 2016-04-29 22:56:18 +02:00
peter 0e46fda6b8 IDEA-155369 double boolean of method return type 2016-04-29 22:56:17 +02:00
peter e92ee51e76 IDEA-152354 Code completion items order should be aware of MyClass.class 2016-04-19 14:00:30 +02:00
peter f2ef7b87c1 revert inference for all type arguments for now (IDEA-153970 Code completion suggestions for SmartType are broken when used with generics) 2016-04-05 14:29:08 +02:00
peter c99918eb89 IDEA-154099 Smart completion is broken inside super call 2016-04-04 16:42:04 +02:00
Anna Kozlova 532a22e4ed testdata fixed 2016-03-24 21:28:00 +01:00
Anna.Kozlova 7712f6e443 proceed static factories instead of constructors to calculate expected types when diamonds are used (IDEA-153520) 2016-03-24 18:14:17 +01:00
peter 419770e30d IDEA-153437 Do not suggest to loop over the loop variable (and don't duplicate "new") 2016-03-24 11:54:46 +01:00
peter 80c6e1c9f4 java completion sorting: disprefer return in void lambdas (IDEA-CR-9303, IDEA-152289) 2016-03-16 11:32:51 +01:00
peter d9cbc98a49 IDEA-152289 Code completion suggests "return" as the first result in the empty constructor 2016-03-15 19:55:14 +01:00
peter 28b7c2501a IDEA-152325 Smart completion should not suggest class fields in its this/super constructor call 2016-03-15 19:55:14 +01:00