Commit Graph

171 Commits

Author SHA1 Message Date
peter
5329e9bb75 IDEA-65856 Throwable at com.intellij.codeInsight.completion.CompletionProgressIndicator.closeAndFinish 2011-02-25 12:37:09 +01:00
peter
725873b3ce IDEA-65811 "final" variant is not suggested but it should be 2011-02-23 15:13:41 +01:00
peter
40c073a073 uninitialized fields should be offered at least when initializing them 2011-02-23 15:13:40 +01:00
peter
b09a5bed9e IDEA-63641 Eliminate variable itself from autocomplete list 2011-02-23 15:13:39 +01:00
peter
5d9f4ef818 IDEA-50092 Code completion added unnecessary type arguments 2011-02-23 11:33:15 +01:00
peter
d07de05c10 IDEA-57487 Smart completion in cast operator inserts ill-formed type 2011-02-23 11:33:14 +01:00
peter
c13f0636c2 IDEA-58556 Make smart completion cast insertion aware of autoboxing 2011-02-23 11:33:13 +01:00
peter
55bc513149 IDEA-50627 Don't suggest uninitialized instance members in constructor when smart-completing 2011-02-22 18:58:44 +01:00
peter
261bfa77a9 in field type, don't suggest fields&methods (IDEA-65639) 2011-02-22 18:58:42 +01:00
peter
df58d454e5 IDEA-62188 Java: Basic completion doesn't suggest "default" keyword in switch construction 2011-02-21 21:05:57 +01:00
peter
0955db3442 restore field negation by ! 2011-02-21 21:05:55 +01:00
peter
ab4660c7ac IDEA-46653 Completion in parameter list should not insert a trailing comma if the following parameter is varargs 2011-02-21 21:05:54 +01:00
peter
d91749f4c3 IDEA-65234 Smart Completion: suggest most-probable method for delegation 2011-02-21 21:05:53 +01:00
anna
2c27958238 smart completion: insert diamond iff no arg constructor is present or all constructors are generic free and no diamond inference errors occur 2011-02-21 18:36:16 +01:00
peter
a831a7cd12 [rev=yole] revert up/down arrows in non-focused lookups to the old behavior 2011-02-21 12:40:25 +01:00
peter
1cc5e6339b IDEA-65583:
insert import when completing a class reference with existing generics
on tab, replace the generics, if any
2011-02-17 20:54:09 +01:00
peter
66bafd7c05 IDEA-65286 JAVA: autocomplete triggers within double-value 2011-02-17 17:23:34 +01:00
Alexey Kudravtsev
6c65c04303 unnecessary calls to getMockJDK() removed in tests 2011-02-17 14:00:16 +03:00
peter
d43faca81d IDEA-65252 Static nested classes are first proposal on values 2011-02-16 18:32:14 +01:00
peter
7414445e89 completion stats should care of class qualified names (IDEA-65112) 2011-02-16 18:32:12 +01:00
peter
ec40eab2f2 items that are prefixes of other items should go first
Java expected type also should go first, and win
current class should be preferred in completion (IDEA-64703)
2011-02-14 21:21:32 +01:00
peter
dff7be3956 teach classifiers to present their criteria in a readable form 2011-02-14 19:16:56 +01:00
peter
34ecc0214b a commented test for IDEA-64703 2011-02-09 16:17:08 +01:00
peter
abbd179ca7 more well-defined access 2011-02-09 16:17:03 +01:00
peter
397977cfe8 simpler lookup element comparables 2011-02-09 16:17:01 +01:00
peter
6a1666584d prefer local variables to methods (IDEA-64703) 2011-02-09 16:17:00 +01:00
peter
2efc3fa640 move completion sorting checks to the fixture 2011-02-09 16:16:59 +01:00
peter
d7579aabc7 fixture-based completion sorting tests 2011-02-09 16:16:57 +01:00
peter
2f90c39631 autopopup sometimes showed no suggestions 2011-02-07 12:49:28 +01:00
peter
a92e8b744a autopopup after . is also an autopopup and should track editor events 2011-02-07 12:49:28 +01:00
peter
456b8d2356 members declared in the qualifier class go first in the completion list (IDEA-13030) 2011-02-07 12:49:27 +01:00
peter
d4d47954d4 classes are not subject to the 'passing object to itself' sorting heuristic 2011-02-04 15:41:47 +01:00
peter
2604b2eb59 fix completing static inner class name extending its enclosing class 2011-02-02 17:21:11 +01:00
peter
5311b6cb0d an ability to sort lookup items alphabetically (IDEA-60529) 2011-02-01 15:21:52 +01:00
anna
c05c58cf4c completion: diamonds; inspection: collapse to diamond 2011-01-31 17:14:11 +01:00
peter
8862164974 hide autopopup when there's only one variant equal to prefix 2011-01-31 16:54:50 +01:00
peter
e46e1e5074 don't hide autopopup 2011-01-31 13:17:51 +01:00
peter
1135a571f9 a test for up/down arrows in autopopup 2011-01-31 13:17:47 +01:00
peter
08f0f7d57e autopopup after dot: class names 2011-01-31 13:17:46 +01:00
peter
4818ae2b0d autopopup after dot 2011-01-31 13:17:44 +01:00
peter
e782c50a1e IDEA-64713 Using a comma in code completion inserts a trailing space for method calls but not for variable names 2011-01-27 19:37:00 +01:00
peter
a87d5fd8a6 for expected class types insert the parentheses 2011-01-26 18:52:56 +01:00
peter
009015d5e5 prefer the expected type even if it's inner 2011-01-26 18:52:55 +01:00
peter
f46268d4c8 correctly suggest protected methods after Xxx.super. 2011-01-26 18:52:53 +01:00
peter
50c3f9a426 more robust autopopup concurrency test 2011-01-26 08:50:19 +01:00
peter
9838ed07c4 more robust autopopup concurrency test 2011-01-26 00:02:54 +01:00
peter
df9e776747 don't let the following nasty angle braces spoil the qualifier casting 2011-01-25 19:28:58 +01:00
peter
08eab417c0 prefer final over finalize() 2011-01-25 19:28:58 +01:00
peter
9f4efe0e8f IDEA-64612 Autocasting from completion is not inserted after "assert X instanceof T" (and before another assignment) 2011-01-25 19:28:58 +01:00
peter
427ab9cbb6 don't close lookup on appending prefix during completion 2011-01-25 19:28:58 +01:00