peter
d970993b43
java completion: suggest AbstractClass::new[] (IDEA-188431)
2018-04-24 16:56:12 +02:00
Anna.Kozlova
969e90f34a
check inner class access for top level classes only (IDEA-188716)
2018-04-23 19:13:30 +02:00
Anna.Kozlova
d5c1446732
enable var type change when method is called on qualifier (IDEA-190067)
2018-04-23 17:01:52 +02:00
peter
3387597e00
reparse from text after PSI changes in incorrect code (IDEA-188164)
2018-04-23 15:19:17 +02:00
Tagir Valeev
f48446e00b
ControlFlowAnalyzer: do not exclude polyadic operands after always true/false operand
...
Fixes IDEA-190766 Final field reassignment problems in always true/always false polyadic chains
Review ID: IDEA-CR-29499
2018-04-23 17:54:41 +07:00
Tagir Valeev
53094fd2d2
IDEA-190727 Replace instanceof with null-check could automatically eliminate double negation
2018-04-22 17:07:04 +07:00
Tagir Valeev
2590753b28
NestedIfJoinLinesHandler: fix polyadic case.
...
Fixes IDEA-190660 ClassCastException after code reformatting using 'Join Lines'
Fixes EA-119515 - CCE: NestedIfJoinLinesHandler.tryJoinLines
2018-04-21 18:11:50 +07:00
Roman.Ivanov
32847d75a5
VariableAccessFromInnerClassJava10: fix review issues: IDEA-CR-31797
2018-04-20 10:43:23 +07:00
Dmitry Jemerov
e5ddee0216
API for handling selected completion item actually works; added test
...
IDEA-CR-31904
2018-04-19 15:18:31 +02:00
Dmitry Jemerov
a0f3c56b54
API to execute typed handler postprocessing in a separate command
...
This allows to undo the formatting separately from the typing which
has triggered the formatting (IDEA-126243)
2018-04-19 14:11:06 +02:00
Anna.Kozlova
300ba0e9bb
cleanup anonymous type when asked for variable type
...
check that effective cast type will help (IDEA-190473)
2018-04-19 13:23:22 +02:00
Tagir Valeev
4b65e11e99
IDEA-130703 Join Lines (Ctrl-Shift-J) could join nested if's
2018-04-19 17:03:10 +07:00
Dmitry Jemerov
abee26e09e
Revert "API to execute typed handler postprocessing in a separate command"
...
This reverts commit da2d095
2018-04-19 11:46:58 +02:00
Tagir Valeev
5f34c4c223
IDEA-190558 Join lines: smart concatenation of assignment and the subsequent reassignment with the method call
2018-04-19 15:50:25 +07:00
Tagir Valeev
279c952a11
IDEA-138747 Joining line with EOL comment
2018-04-19 15:50:24 +07:00
Tagir Valeev
cee5209a63
ChainCallJoinLinesHandler: disable when builder variable is self-referenced
2018-04-19 13:40:39 +07:00
Tagir Valeev
deeec13f53
IDEA-172368 'Join lines' could handle increment with 0 nicer
2018-04-19 13:36:15 +07:00
Tagir Valeev
eb75cfe87e
ChainCallJoinLinesHandler: join chained calls; assignment/declaration+call
...
Fixes IDEA-54209 Join Lines should be able to merge multiple method calls into a chained call
2018-04-19 13:16:07 +07:00
Tagir Valeev
c76d9aba62
StreamToLoopInspection: support Map.forEach()
...
Fixes IDEA-190440 Convert usage of java.util.Map.forEach() to for (... entrySet()) loop
2018-04-19 12:12:40 +07:00
Dmitry Jemerov
da2d0959ea
API to execute typed handler postprocessing in a separate command
...
This allows to undo the formatting separately from the typing which
has triggered the formatting (IDEA-126243)
2018-04-18 19:06:08 +02:00
Anna.Kozlova
13d2e4e4dd
raw string literals: keep multiple tics at start pos sync with closing
...
IDEA-CR-31851
2018-04-17 18:23:42 +02:00
Anna.Kozlova
42d204757e
treat type parameter array upper bounds (IDEA-190380)
2018-04-17 18:23:41 +02:00
peter
e45f94c07d
java completion: don't deselect TreeMap (IDEA-189544)
...
it wasn't preselected because there were 8 signatures "to implement",
coming from Map default methods
2018-04-17 18:12:28 +02:00
Tagir Valeev
91b269f9fb
CountingLoop: support decreasing loops
...
Fixes IDEA-190412 Unroll loop action: support decreasing loops
2018-04-17 17:48:00 +07:00
Anna.Kozlova
5ff6f01db9
raw string literal: insert whitespace to avoid literal till end of file
...
IDEA-190406
2018-04-17 12:05:53 +02:00
Tagir Valeev
a1a4663b73
CollectMigration: support toUnmodifiableMap
...
Fixes IDEA-187213 Stream API migration: support Java 10 toUnmodifiableList/Set/Map collections
2018-04-17 15:06:35 +07:00
peter
b2b723fa44
speedup java class resolve a bit
...
don't even look for class in on-demand imports when named import matches
2018-04-16 18:59:52 +02:00
Anna.Kozlova
48dcb9fe54
split declaration: PIEAE (IDEA-190299)
2018-04-16 16:45:23 +02:00
Roman.Ivanov
3f6f9467c1
add fix to create field in anonymous class for lambdas: IDEA-189928
2018-04-16 12:47:03 +07:00
Tagir Valeev
165e2a527f
DFA: support of Class.isInstance, isAssignableFrom and class literal tracking
...
Fixes IDEA-189865 Support class.isAssignableFrom and class.isInstance in DFA
2018-04-15 13:21:49 +07:00
Anna.Kozlova
f77bc9ff0d
string -> raw: process leading/tailing tics (IDEA-189855)
2018-04-13 20:06:16 +02:00
Anna.Kozlova
3de00fcc41
convert string to raw string literal intention (IDEA-189855)
2018-04-13 20:06:15 +02:00
Anna.Kozlova
9bc349a38b
convert raw literal to string intention (IDEA-189855)
2018-04-13 20:06:15 +02:00
Anna.Kozlova
157a19c220
new expression: keep calm with invalid code (IDEA-189834)
2018-04-13 16:30:47 +02:00
Tagir Valeev
d31f5f410d
ExtractIfCondition: fix testdata (extra comment)
2018-04-13 10:39:50 +07:00
Roman Shevchenko
b6e21af7ac
[java] raw string literals: language level check (IDEA-189075)
2018-04-12 17:26:34 +02:00
Anna.Kozlova
6b42992013
raw string literals: string assignability (IDEA-189075)
2018-04-12 15:36:15 +02:00
Tagir Valeev
f805fa2840
SplitConditionUtil#createAndAnd: fix corner cases with ending line comment
...
Review ID: IDEA-CR-31527
2018-04-12 16:51:31 +07:00
Anna.Kozlova
74f6d68ea3
inference for method references: register new variables for raw access
...
IDEA-189883, IDEA-188976: according to the 15.13.1 search for member is performed in the parameterization (non-raw) type which is a subtype of the first parameter type, in this case no additional variables are required as the type contains type arguments
2018-04-11 10:19:16 +02:00
peter
02b032eca2
IDEA-189603 Multi-parameter completion overwrites code if there is no closing parenthesis
2018-04-11 08:52:22 +02:00
Roman.Ivanov
5e0d5a8c16
AddExceptionToExistingCatch: disable fix for local classes: IDEA-189828
2018-04-10 15:49:24 +07:00
Roman.Ivanov
db891c3f24
SortContentAction: place \n correctly if comment inside node IDEA-189822
2018-04-10 15:13:08 +07:00
Anna.Kozlova
aad9fe81c2
show error for type arguments on array creation (IDEA-189766)
2018-04-09 15:07:49 +02:00
Roman.Ivanov
c7f0ee1fb9
add fix to create type parameter from usage: IDEA-189833
2018-04-09 18:18:03 +07:00
Anna.Kozlova
f86e0a31ea
disable exceptional fixes for local classes (IDEA-189596)
2018-04-09 11:38:11 +02:00
Tagir Valeev
86bb492eb2
SplitIfAction and ExtractIfConditionAction code unified
...
Fixes IDEA-152047 Better "Split into 2 if's" result for else-if cases
2018-04-09 12:34:01 +07:00
Tagir Valeev
83ebaa7f64
Extract common conjunct from if-else chain in ExtractIfConditionAction
...
Fixes IDEA-179499 New inspection: Should break out common conjunct from "if / else if"
2018-04-07 09:08:57 +03:00
Roman.Ivanov
b973d42f1c
AddExceptionToExistingCatchFix: hide fix in catch or finally IDEA-189654
2018-04-06 12:26:55 +07:00
Tagir Valeev
5fe4a9b691
GuessManagerImpl: box values on fast-path; disable DFA on primitive types at all
...
Fixes IDEA-189340 Does not show Number methods during auto completion
2018-04-05 11:46:42 +07:00
Anna.Kozlova
5ecee5486b
unchecked exceptions: check captured wildcards (IDEA-189184)
2018-04-03 16:53:09 +02:00