Commit Graph
2756 Commits
Author SHA1 Message Date
peter ec71fb4d28 IDEA-143786 Switch over enum completion - do not prefer just typed variants 2015-08-13 18:22:52 +02:00
Anna Kozlova 8c2a945f80 testdata for IDEA-143390 2015-08-12 08:14:31 -07:00
Yaroslav Lepenkin 8eea8eb13f Do not reformat parent code block on "complete current statement" action (IDEA-102479) 2015-08-11 14:39:13 +03:00
Bas Leijdekkers 59f25f9789 generate default method and improved text & description for "delegated method with default parameter value" intentions 2015-08-08 21:54:24 +02:00
Alexey Kudravtsev 99a0bede9f converted to walking visitor 2015-07-30 14:56:54 +03:00
Anna Kozlova 1df6b8e711 new inference: ensure erased target type if substitutor was raw (IDEA-143183) 2015-07-29 10:02:59 +02:00
nik 3338d30023 add dependency on external library quick-fix: API simplified, duplicated code removed 2015-07-29 08:31:13 +03:00
Alexey Kudravtsev 59e0751e2c cleanup 2015-07-24 16:54:15 +03:00
peter d2056e2d52 IDEA-143075 Autocompletion not working when an inner compiled enum is named "v1" 2015-07-24 12:56:29 +02:00
Roman Shevchenko fe7ba298f6 Merge remote-tracking branch 'origin/master' 2015-07-22 18:26:08 +02:00
Roman Shevchenko cff7efd5d1 [java] since Java 9, underscore identifiers are completely prohibited (IDEA-132278) 2015-07-22 18:23:28 +02:00
Roman Shevchenko f7f0a5c0c4 [java] adds support for Java 9's improved try-with-resources (IDEA-140266)
PSI, parser, highlighting, exception analysis, control flow, completion.
2015-07-22 16:28:39 +02:00
Anna Kozlova 3a9f429d3e method references on lambda parameters for incomplete code (EA-66008 - assert: InferenceSession.collectApplicabilityConstraints) 2015-07-22 12:34:09 +02:00
Anna Kozlova 7677f61dc5 invalid annotation type detection based on type element (IDEA-142884) 2015-07-21 18:36:10 +02:00
Roman Shevchenko 8d620bf87f Merge remote-tracking branch 'origin/master' 2015-07-21 09:17:29 +02:00
Anna Kozlova a94e79baff generate constructor: place varargs from base constructor as last parameter (IDEA-142811) 2015-07-21 08:51:12 +02:00
Anna Kozlova 75e3086fb2 lambda -> meth ref: reject replacements with invalid qualifiers (IDEA-142695) 2015-07-21 08:51:06 +02:00
Roman Shevchenko 32a6761ede Cleanup (i18n; text corrected) 2015-07-20 12:06:25 +03:00
Roman Shevchenko 1de7a48a49 Merge remote-tracking branch 'origin/master' 2015-07-19 15:15:49 +03:00
Roman Shevchenko de416d4f7f Cleanup (test moved to a correct location) 2015-07-18 23:13:56 +03:00
peter 3241305b74 IDEA-142746 Completion should prefer local variable, not equals() 2015-07-17 15:01:43 +02:00
Anna Kozlova 6dddedeb39 override/implement: do not add type parameters from super method if supercalss was erased (IDEA-142453) 2015-07-14 22:07:19 +03:00
Anna Kozlova 7bec688369 lambda: don't reject value compatibility for lambdas with control flow problems inside (IDEA-142107) 2015-07-14 18:38:43 +03:00
Roman Shevchenko 106d1d5175 java: "Java X" language level for experimental features; T<any> wildcard support 2015-07-14 16:55:24 +03:00
peter 7194336a1f IDEA-140452 Complete-statement insert closing parenthesis at wrong place 2015-07-09 20:49:01 +02:00
peter 26f25b917d IDEA-68660 ctrl-shift-enter does not insert a semicolon after anonymous implementation 2015-07-09 20:49:01 +02:00
peter 8cbbf3648b IDEA-31554 "Complete Current Statement" does not format code on "else if" condition code block 2015-07-09 20:49:00 +02:00
peter 75f04d0383 IDEA-41929 Ctrl + Shift + Enter doesn't work for "for (; ;)" 2015-07-09 20:49:00 +02:00
peter 4f6e27823e IDEA-142439 Wrong cursor placement when creating a class after brackets autocomplete 2015-07-09 20:49:00 +02:00
peter 4ff9ba80f3 IDEA-41246 Ctrl + Shift + Enter problem if array elements are not the same line 2015-07-09 20:48:59 +02:00
Roman Shevchenko 83674908b6 IDEA-142416 (fixed parsing of annotated fully-qualified types in assignment statements) 2015-07-09 16:29:04 +03:00
Anna Kozlova 8a9e5ae9db A.super.field should not accept super interface (IDEA-140646) 2015-07-07 18:18:30 +03:00
Yaroslav Lepenkin 6731485cb8 Reformat with context on postponed formatting: fixed java test data 2015-07-07 17:24:09 +03:00
Yaroslav Lepenkin ecf06ab80c Alignment on "public, static, void, <T>, throws" replaced with none indent.
Previously alignment were created for mostly every element of method/class declaration
|public |void |run() {
}

Therefore, when posprocess reformat is used in reformat context mode on "run" rename will be reformatted whole method declaration starting with public, which sometimes can be not usefull
2015-07-07 17:24:06 +03:00
Anna Kozlova fde12ea8dd unimplement with cyclic inheritance (IDEA-142343) 2015-07-07 14:55:18 +03:00
Anna Kozlova 303edac35e functional type erasure: check if resulted type functional (IDEA-142341) 2015-07-07 14:55:14 +03:00
Roman Shevchenko a9bbf772d6 IDEA-87252 (a couple more javadoc tests) 2015-07-06 18:33:32 +03:00
Anna Kozlova 024f917277 method refs: return type check fix for raw constructor (IDEA-142302) 2015-07-06 17:37:31 +03:00
Anna Kozlova 0415ca7a79 testdata fixed 2015-07-03 20:58:41 +03:00
peter 1294ec93f4 IDEA-140728 Suggest to automatically fill parameter of Stream#collect() method calls with standard Collectors instances 2015-07-03 18:25:08 +02:00
peter 209dea1eda IDEA-140731 Second invocation of Smart Type completion should suggest to convert array to Stream 2015-07-03 18:25:08 +02:00
Roman Shevchenko 484fc43881 Merge remote-tracking branch 'origin/master' 2015-07-03 16:09:44 +03:00
Roman Shevchenko 200e67ca65 IDEA-106141 (trailing annotations excluded from an incomplete reference expression)
I.e. in "X. \n @A public T m()", @A is no longer a part of "X.".
2015-07-03 16:00:02 +03:00
Anna Kozlova 51404269ff ensure left expression is processed before right in assignments (IDEA-140772) 2015-07-03 14:57:13 +03:00
Anna Kozlova fe400fc988 method refs: infer 'diamond' if constructor ref type is raw (IDEA-142142) 2015-07-02 20:08:10 +03:00
Roman Shevchenko 0888e688fd Cleanup (unneeded test parameters) 2015-07-02 16:06:52 +03:00
Roman Shevchenko 2edb98e34d Merge remote-tracking branch 'origin/master' 2015-07-02 15:53:14 +03:00
Roman Shevchenko fd0061d246 java: receiver parameter highlighting 2015-07-02 15:29:22 +03:00
Alexey Kudravtsev 863eeb1898 IDEA-141330 Find Usages cannot find valid usage from abstract class 2015-07-02 12:48:38 +03:00
Roman Shevchenko d926c3cca3 Cleanup (highlighting tests unified) 2015-07-01 00:21:44 +03:00