Commit Graph

705 Commits

Author SHA1 Message Date
peter b3d29e5749 IDEA-178141 Case sensitive completion: First Letter - doesn't work correctly if class starts with special symbol
check first letter after the underscore
2017-09-13 15:47:11 +02:00
peter 0f8897cacb IDEA-178141 Case sensitive completion: First Letter - doesn't work correctly if class starts with special symbol 2017-09-13 10:31:21 +02:00
Tagir Valeev 22425f9a7b Fixes EA-107194 - assert: PsiElementFactoryImpl.createType 2017-09-13 12:07:44 +07:00
Dmitry Batkovich 86829cac3e java property index 2017-09-06 10:40:47 +03:00
peter ee3d96da1a IDEA-177895 Completion items with type casts derived from control flow are not suggested for 'this' 2017-08-31 17:39:08 +02:00
Anna Kozlova 50ca349572 completion for <>: overloaded constructors (IDEA-177256)
provide arguments compatible with the first constructor to reduce cases where diamonds can't be applicable
2017-08-19 13:58:27 +02:00
Anna Kozlova 90148e6425 completion: don't ignore Object substitution (IDEA-177259) 2017-08-19 13:58:26 +02:00
peter d562896618 a test for IDEA-174819 Following annotation is removed on autocomplete 2017-08-16 19:57:19 +02:00
peter 75179fcfef IDEA-177034 A qualified class name should be suggested when there's a shadowing type parameter 2017-08-14 19:13:11 +02:00
peter d78fe7b18f IDEA-177166 Unexpected call completion in package statement 2017-08-14 19:13:11 +02:00
peter 5ec1403c27 IDEA-177292 No "new" keyword completion after dot 2017-08-14 16:11:54 +02:00
peter 792940cf8e java completion: fix shadowed type parameter duplication 2017-07-26 12:34:10 +02:00
peter a7821e5bdf java completion: don't suggest class keywords in array variable initializer (IDEA-CR-23174) 2017-07-26 11:24:39 +02:00
Kyle Thomson bf4df4a979 Enhance Java builder completion for superclasses and generics 2017-07-24 15:27:58 +02:00
peter 3badd07183 java completion: don't suggest class keywords in array field initializer 2017-07-21 15:57:16 +02:00
peter bcbee2120e make completion work in java type arguments inside cast 2017-07-21 09:53:58 +02:00
peter 1e79df00e5 java completion: suggest primitive types in method returning array 2017-07-19 17:01:28 +02:00
peter 4b6aa72d74 java completion: suggest 'package' after javadoc 2017-07-18 14:46:56 +02:00
Dmitry Batkovich 7b978a1d48 relevant method chain completion: do not suggest chains qualified with enclosing local variables 2017-07-17 16:36:45 +03:00
peter 64c770a1f6 IDEA-60581 Statement keywords presented when completing inside Java for loop 2017-07-17 14:14:22 +02:00
peter b48b6362ab IDEA-175834 "catch" completion with overwrite (Tab) generates incorrect code 2017-07-17 14:14:22 +02:00
peter b9839bd0e3 IDEA-175870 No "final" completion in a variable in a lambda 2017-07-17 14:14:22 +02:00
peter 932474e0d5 IDEA-175869 No "int" completion in a for loop 2017-07-17 14:14:22 +02:00
peter 54461cd71d IDEA-175670 Duplicate "enum.valueOf" suggestion 2017-07-13 19:29:54 +02:00
peter fddf282e16 IDEA-175677 Duplicate generic method suggestion when inheriting from a raw type 2017-07-13 19:29:54 +02:00
peter 3cd5240969 IDEA-175672 Duplicate "new char[]" suggestions 2017-07-12 22:03:49 +02:00
peter 4ce6e7c0df IDEA-175681 Duplicate "void" suggestion 2017-07-12 22:03:49 +02:00
peter e44da4387a fix some missing keywords in java completion (IDEA-175673, IDEA-175669) 2017-07-11 21:52:24 +02:00
peter 0e351d518b IDEA-175517 Generic Map Autocomplete Always uses "Object" as type instead of the actual type 2017-07-07 18:49:25 +02:00
Dmitry Batkovich d55416e473 java smart completion sorting: split getter kind into 3 kinds with different priority (getter should have a higher priority then any relevant method chain) 2017-07-04 11:17:59 +03:00
Dmitry Batkovich b1d40b518b relevant method chain completion: introduce new field if completion for field initializer is called (EA-103019) 2017-06-14 16:53:21 +03:00
Maxim.Mossienko 0573e1f109 update tests and testdata to reflect newer mock jdk 1.7 2017-06-13 15:30:25 +02:00
Maxim.Mossienko 7387ee525b update tests and testdata to reflect newer mock jdk 1.7 2017-06-13 15:09:42 +02:00
peter 2e6cfa9223 don't generate setters for constants during completion (IDEA-CR-21764) 2017-06-09 18:16:19 +02:00
peter 1a4a90e174 IDEA-173726 Generation completion suggests create setter for final field 2017-06-09 15:41:32 +02:00
peter b8588d2006 prefer local variables over NULL_PSI_ELEMENT in smart completion 2017-06-07 13:35:28 +02:00
peter d9accfb4d4 IDEA-173473 Class type argument brackets are still inserted despite that being disabled 2017-05-30 20:10:36 +02:00
Dmitry Batkovich 1279ab20d8 method chain completion: make it works inside return statement 2017-05-29 19:16:06 +03:00
peter b15f49ac7a IDEA-173298 Type inference doesn't properly find return type when it is more restricted in interface than abstract class 2017-05-26 14:42:42 +02:00
peter d30a552fcb IDEA-173437 Completion suggestion is bad for ObjectUtils.tryCast 2017-05-26 14:42:42 +02:00
peter 4208f1d7b3 java completion: group fields together with local variables (IDEA-168743 , IDEA-172888) 2017-05-24 20:40:20 +02:00
Dmitry Batkovich 18592664b7 method chain completion: remove sub lookup element (automatic argument insertion) 2017-05-15 16:27:16 +03:00
peter 29672cb324 java smart completion: prefer all items with exactly expected type, not only classes (IDEA-169490) 2017-05-15 09:16:00 +02:00
peter 1c977bd5dd IDEA-170406 Prefer expected enum constants in annotation attribute, despite statistics 2017-05-13 07:53:22 +02:00
Alexey Kudravtsev 4a4626c750 removed default file header, because it adds no information but subtracts attention and space 2017-05-12 14:02:24 +03:00
Alexey Kudravtsev 920d5b4fba removed default file header, because it adds no information but subtracts attention and space 2017-05-11 13:39:07 +03:00
peter a9db058d17 java completion: suggest guava/protobuf builder variants (IDEA-130386) 2017-05-10 10:13:55 +02:00
Dmitry Batkovich a82a3842bb method chains search: check assignability; use name suggester; use JavaChainLookupElement 2017-04-28 18:20:11 +03:00
Pavel Dolgov 5ef59d28e1 Java: In MethodHandle completion show the list of available signatures of overloaded method, don't complete automatically the first item from that list (IDEA-167319) 2017-04-28 15:12:25 +03:00
Dmitry Batkovich 0301170130 method chains completion: fix tests (class shouldn't be functional) 2017-04-26 19:21:47 +03:00