Commit Graph
717 Commits
Author SHA1 Message Date
Dmitry Batkovich 60921be2e3 relevant method chain completion: do not suggest casts for introduced variable (EA-108521) 2017-10-26 16:36:55 +03:00
peter ceb018b369 complete java class keywords after top-level annotation
regression after IDEA-CR-25484
2017-10-13 13:32:10 +02:00
peter 44a2ffa2ff JavaKeywordCompletion: simplify
make short code out of long ElementFilters
remove dead logic
cleanup unused filters
also fixes IDEA-179855 Double "final" suggestion after annotation
2017-10-13 09:49:22 +02:00
peter 969a93d5a8 IDEA-179864 Autocomplete does not handle generics when method has parameters 2017-10-04 16:12:59 +02:00
Dmitry Batkovich 87e841ef88 relevant method chain completion: chains ended with casts are valid too 2017-09-25 17:35:44 +03:00
Dmitry Batkovich 07a4324053 Merge branch 'db/method-chains-with-casts'
# Conflicts:
#	java/compiler/impl/src/com/intellij/compiler/chainsSearch/context/ChainCompletionContext.java
2017-09-25 12:40:26 +03:00
Dmitry Batkovich eb9fd79648 add tests for completion with casts 2017-09-25 12:32:08 +03:00
peter d8a63070d0 don't preselect better-matching deprecated classes (IDEA-124382) 2017-09-18 18:44:39 +02:00
peter bbc6baa91e IDEA-178535 Duplicate class suggestions in cast 2017-09-16 19:11:43 +02:00
peter 84f49683cb IDEA-178377 No "final" completion suggestion in catch declaration 2017-09-16 19:11:43 +02:00
peter dd920e884e completion: place functional expressions after variables of expected type (IDEA-174428, IDEA-178600) 2017-09-15 22:04:11 +02:00
peter e5bde2ff34 IDEA-173927 Support keywords autocompletion when keyboard layout is incorrect 2017-09-15 22:04:10 +02:00
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 Thomsonandpeter 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