Commit Graph

356 Commits

Author SHA1 Message Date
peter 9404e50337 prefix matching is more important than element kind and statistics 2012-10-25 21:19:36 +02:00
peter 0385ecc58a IDEA-84963 Disprefer annotations in autocomplete at places where they cannot be used 2012-10-25 18:32:07 +02:00
peter 50b1b21806 collect completion stats even if a primitive type is expected (IDEA-92045) 2012-10-24 12:26:38 +02:00
peter dc16adddbb a test for IDEA-93198: Middle matching shouldn't be so noisy 2012-10-19 14:54:59 +02:00
peter f653df321f don't restart completion after typing 2 characters: it's not needed with current matching 2012-10-15 17:14:44 +02:00
peter 18a6cf6a1b suggest primitive types in generics (IDEA-92940) 2012-10-15 17:14:26 +02:00
peter af44ecd7cf IDEA-91838 Complete instance members from static inner class 2012-10-13 17:33:08 +02:00
peter 31291792e4 don't preselect the last chosen completion item when the matching prefix is unrelated to the prefix entered when that item was chosen (IDEA-92823) 2012-10-13 17:33:06 +02:00
peter a9b4cd8d4f IDEA-88769 Java keyword completion: duplicate "final" suggestion 2012-10-12 15:23:25 +02:00
anna b8fb9f7f36 method refs: do not insert ; in calls/exprs (IDEA-92713) 2012-10-11 21:12:07 +02:00
anna 451d88906b method ref completion: allow non static methods (IDEA-92705) 2012-10-11 12:42:09 +02:00
peter f043e3c7c5 preselect what was completed last, use statistics count only for sorting (IDEA-92045) 2012-10-02 20:19:32 +02:00
peter f0b351d75a IDEA-91842 Type parameters are shown for field but not for method 2012-09-24 17:37:10 +04:00
Konstantin Bulenkov 343fc4bea6 IDEA-91588 Reflection completion generates generics types 2012-09-14 19:02:31 +04:00
peter baecbfd6c8 IDEA-90606 Smart completion misses exception from try-with-resources 2012-09-06 17:36:30 +02:00
Anna Kozlova 51e044a8f5 smart completion in lambda body: decision to insert semicolon based on lambda context and body type (IDEA-91083) 2012-09-06 14:59:46 +04:00
peter 2e722afde9 IDEA-90900 Complete statement works incorrectly in some simple cases 2012-09-04 16:39:54 +02:00
Anna Kozlova 844ee5e89b testada 2012-09-04 11:33:41 +04:00
Anna Kozlova 659d9f3251 lambda: smart completion: substitute return type; respect one line lambda as return statement (IDEA-90941; IDEA-90944) 2012-09-03 21:27:13 +04:00
Anna Kozlova 76fe4475b1 lambda smart completion: choose functional interface method instead of containing method (IDEA-90809) 2012-08-30 20:14:33 +04:00
peter f412b09ef8 be prepared to middle matching with one char prefix 2012-08-28 16:24:51 +02:00
peter 85903981fc IDEA-90349 Auto-completion should always prefer exact match 2012-08-27 16:44:15 +02:00
peter 546028e1aa IDEA-90142 Do not propose contant names after '@' 2012-08-14 16:42:39 +02:00
peter 7791e6848c suggest primitive types in expression contexts in case one wants to write int.class (IDEA-90013) 2012-08-13 11:27:39 +02:00
peter f8849d2ee0 IDEA-89841 Auto-Complete Does Not Include Static Imports 2012-08-08 12:18:55 +02:00
peter 1d7ecf3c72 not so eager space after instanceof 2012-08-08 12:18:55 +02:00
peter 0d3bc73083 class is a valid suggestion in method body 2012-08-08 12:18:54 +02:00
peter 4056c79a2d index only non-private static members; correct groovy second smart completion results 2012-08-07 19:07:43 +02:00
peter 8d74a7248c IDEA-62053 Smart completion should suggest "public static final members" of any class 2012-08-06 23:50:30 +02:00
peter 6f0bc1d937 IDEA-85330 Literals completion 2012-08-03 17:14:55 +02:00
peter b24c05983d middle matching in SmartTypeCompletionTest 2012-07-30 19:03:27 +02:00
peter 2f8cc6cde8 middle matching in NormalCompletionTest 2012-07-30 19:03:27 +02:00
peter 56565a1802 when there are camel humps, match only them with word starts 2012-07-27 17:07:39 +02:00
peter ad5e700fad IDEA-89217 Completion doesn't suggests constants inside annotation array 2012-07-25 11:06:15 +02:00
peter 8e87fb2551 IDEA-89175 Completing an annotation on an @interface class should always suggest meta-annotations 2012-07-24 12:29:58 +02:00
peter 42eebc6127 IDEA-84963 Disprefer annotations in autocomplete at places where they cannot be used 2012-07-24 10:31:15 +02:00
peter 0364eb48a6 fix new byte[]null in lookups 2012-07-24 10:06:00 +02:00
peter 65643aa190 IDEA-89114 Unsuitable completion proposals in annotation attribute value 2012-07-23 15:45:32 +02:00
peter 4dee0cff9d IDEA-89099 IDEA misses some types in code completion in "try" construct 2012-07-20 17:20:22 +02:00
peter 549da5f6df IDEA-89056 Strange 'xxx[]' item is shown in smart completion list 2012-07-19 16:11:04 +02:00
peter d1ecf6f403 IDEA-81775 Track auto-complete "preferred" values for longer time/per prefix 2012-07-18 14:54:12 +02:00
peter 345c82b052 IDEA-88975 Java constructors autocompletion doesn't work fine for non-static inner classes. 2012-07-18 14:54:11 +02:00
peter b065e86725 IDEA-88769 Java keyword completion: duplicate "final" suggestion 2012-07-16 18:58:15 +02:00
peter a2c3620781 IDEA-88844 Complete enum members in annotations when type is obvious 2012-07-16 18:58:15 +02:00
peter ad5fc6b286 get rid of completionSorting => spare some memory and time 2012-07-16 15:10:24 +02:00
Roman Shevchenko 74aa3eb4aa Fix test data 2012-07-12 21:23:01 +02:00
peter 3818145a76 turn on middle matching in completion tests 2012-07-12 19:18:00 +02:00
peter d14fdb54b4 apply statistics from previous completion when starting new completion 2012-07-09 19:09:35 +02:00
peter e0a1e67dd7 IDEA-88517 Smart Completion: offer names for variables and parameters 2012-07-09 17:28:05 +02:00
peter af1551b94b preselect the best suggestion on next completion invocations (IDEA-88335) 2012-07-09 15:04:37 +02:00