Dmitry Batrak
444dce0373
a fix for completion from non-primary caret (IDEA-123396)
2014-10-07 17:45:41 +04:00
peter
544385ce69
IDEA-130745 Incorrect auto cast after completion
...
* when merging dfa states, check that they're really equal after stripping complementary facts (there might be additional info in subclasses)
* merge in separate groups in one go
2014-10-04 09:55:23 +02:00
peter
91fb0a03ac
a special tail type when smart-completing something in a parenthesized expression (IDEA-129485)
2014-09-11 18:33:33 +02:00
peter
3ac1432fb9
make testdata catch really incomplete
2014-08-27 11:09:54 +02:00
peter
53e2c49b27
IDEA-128948 Smart type completion should propose generic parameter type
2014-08-26 14:32:23 +02:00
peter
6564528108
IDEA-128971 Java auto-completion does not offer "final" keyword for exception variable in "catch" clause
2014-08-26 14:32:22 +02:00
Anna Kozlova
c98d7f0c5e
lambda completion: reformat, ensure unique names (IDEA-128567)
2014-08-13 18:37:05 +04:00
Anna Kozlova
23256c9a59
method reference: enable constructor refs completion (IDEA-124541)
2014-08-11 19:01:47 +04:00
peter
e4df02442d
IDEA-127637 code completion utility should strip 'extends' wildcards from generic qualifiers of generated anonymous classes
2014-07-29 08:41:03 +02:00
peter
7594dc6033
IDEA-127668 Smart type completion prefers constants to fields, normal completion prefers fields to constants
2014-07-28 10:15:16 +02:00
Dmitry Batrak
65404f7c75
IDEA-123396 Multiple carets: offer completion from other caret, if primary caret has no completion variants
2014-07-24 12:50:28 +04:00
peter
0299b302c6
auto-import context variable declaration type when completing (IDEA-90157)
2014-07-22 18:26:56 +02:00
peter
f81e96ef9d
java chained completion: qualifier class items shouldn't be inserted as constructors
2014-07-22 18:26:55 +02:00
peter
f4d3703103
IDEA-126531 Completion inserts unwanted semicolon
2014-07-18 09:14:07 +02:00
peter
fbb28259a1
ignore inferred annotation in @NotNull propagation to overridden methods
2014-07-10 10:35:56 +02:00
peter
1b75318697
adapt testdata to inferred jdk annotations
2014-07-10 10:35:56 +02:00
peter
e3fd6eb900
don't add a newline when completing with smart enter shortcut (IDEA-126726)
2014-07-08 18:40:07 +02:00
peter
02fdc91a10
IDEA-126726 "Complete current statement" always adds a newline
...
* rollback the fix for IDEA-119926
2014-07-08 13:13:51 +02:00
peter
fc5eb4a317
MinusculeMatcher: pay less attention to case mismatches in non-completion contexts (IDEA-119877)
2014-07-07 12:23:10 +02:00
peter
4c7eca5839
IDEA-126595 provide completion variants for Charset.forName()
2014-06-30 21:59:56 +02:00
peter
6a538846f1
prefer thrown exceptions in catch block parameter type completion (IDEA-125316)
2014-06-13 15:40:21 +02:00
peter
01bb23e701
IDEA-125954 Incorrect code completion for deep inner class
2014-06-13 15:40:21 +02:00
peter
41d5427cfe
IDEA-126032 Java basic completion: prefer annotations instead of 'interface' keyword
2014-06-13 15:40:20 +02:00
Anna Kozlova
b9abbfb21f
template ConstructorInsertHandler test (IDEA-101429)
2014-06-04 20:49:39 +04:00
peter
180df2c0af
completion: don't suggest true/false literals where boolean is not expected
2014-05-30 21:32:21 +02:00
peter
495500957b
remove mostly non-useful Integer.valueOf completion suggestions
2014-05-29 21:55:45 +02:00
Yaroslav Lepenkin
775e4cc2d3
IDEA-124609 Unexpected indentation of anonymous classes
2014-05-26 15:32:57 +04:00
peter
57b759ffa1
IDEA-124712 ctrl-alt-space: duplicate completion variants
2014-05-16 16:51:39 +02:00
peter
7dc78a835c
IDEA-124772 Code completion in import statement: suggestion shows package from "java.lang", but when it's selected "java.lang" prefix isn't
2014-05-13 16:14:22 +02:00
peter
676f08abb5
IDEA-124317 super class method is not shown in basic and smart completion, while accessible
2014-05-02 18:42:05 +02:00
peter
c25513919f
IDEA-119926 Completing Statements doesn't go to next line for non conditional statements
2014-04-25 13:27:57 +02:00
Anna Kozlova
b898f91f84
static method reference completion (IDEA-124043)
2014-04-24 17:58:58 +02:00
peter
094f040cc5
IDEA-122362 'getClass()' should be suggested in smart completion if Class<? extends SomeAncestorOfCurrentClass> is expected
2014-04-21 22:21:20 +02:00
peter
947d8ab9c5
missing test data
2014-04-19 21:06:58 +02:00
peter
c47713fe17
prefer T if Class<? extends T> is expected (IDEA-121339)
2014-04-18 22:37:29 +02:00
Anna Kozlova
7bb8868ef2
smart completion of method references (IDEA-123293; IDEA-123291)
2014-04-03 17:15:57 +02:00
Anna Kozlova
88c7d65679
lambda completion: strip unnecessary parenthesis, generate parameter names as for override/implement (IDEA-121947)
...
(cherry picked from commit 273ae0329f28a5bec42847a8739faf8a815cab37)
2014-03-12 10:20:57 +01:00
Anna Kozlova
144684ba22
java 8: accept diamonds in method calls
...
(cherry picked from commit 08397e08d34121af89e37901453ea786b3c8612e)
2014-03-12 10:16:46 +01:00
peter
2c6cea692a
IDEA-121698 Automatically make variables accessed from outer scopes final
2014-03-05 22:19:28 +01:00
Dmitry Batrak
399fdef08e
fix multi-caret completion issues, make TypedHandlers supporting block selection work also with multiple carets (IDEA-80056)
2014-02-27 19:03:00 +04:00
peter
0ecb335d3a
IDEA-118988 completion could add 'value=' in annotation
2014-02-25 14:38:25 +01:00
Dmitry Batrak
a96ee36074
fix case in test data file name
2014-02-24 15:02:47 +04:00
Dmitry Batrak
99dab771cd
IDEA-80056 Column selection mode improvement
...
completion behaviour improvements:
* insert generated text into all carets' positions
* apply post-completion actions (like parenthesis insertion) to all carets
2014-02-21 16:48:27 +04:00
Dmitry Batkovich
ba7188dc42
Methods chains completion for arrays
2014-02-17 14:36:14 +04:00
Dmitry Batrak
8c3d81d77b
IDEA-80056 Column selection mode improvement
...
updating editor fixtures to work for multiple carets
2014-02-13 13:21:26 +04:00
peter
3fd5b8e306
don't suggest lowercase non-imported classes in autopopup (IDEA-114348)
2014-02-06 16:25:10 +01:00
peter
9c67ca6170
java completion: make recursion weigher less important than by-kind, because now it can lead to very unexpected sorting
2014-02-04 15:27:15 +01:00
peter
4037871a23
IDEA-119983 Smart type completion mixes order for Color.RED
2014-01-29 19:40:25 +01:00
peter
589208ff99
test that stats is remembered for global static method completion variants
2014-01-29 19:40:24 +01:00
Dennis Ushakov
9c77e2acb3
use explicit html4 to reduce variants
2014-01-27 12:57:05 +04:00