Mikhail Glukhikh
bace881463
Quick fix to make var with private setter final #KT-10859 Fixed
2016-03-17 18:18:07 +03:00
Nikolay Krasko
ee50aec734
Don't add a blank line between one line class and object (KT-10965)
2016-03-16 18:41:28 +03:00
Kirill Rakhman
48310d66da
Implement quick fix for converting primitive types
...
#KT-10476 Fixed
2016-03-16 10:58:29 +01:00
Nikolay Krasko
94e8ba7c4b
"Code formatter doesn't remove spaces in single line properties" fixed (KT-11076)
...
#KT-11076 Fixed
2016-03-16 12:38:26 +03:00
Nikolay Krasko
85bc32a884
Adjust move code tests for KEEP_FIRST_COLUMN_COMMENT option
...
#KT-4175 In Progress
2016-03-16 12:38:21 +03:00
Nikolay Krasko
a9f11d2c64
Always add new line space with space before to deal with KEEP_FIRST_COLUMN_COMMENT option
...
InvertIfConditionIntention, RemoveBracesIntention tests are affected
#KT-4175 In Progress
2016-03-16 12:38:19 +03:00
Nikolay Krasko
6193987d0d
Reformat code should not align comments (KT-4175)
...
#KT-4175 In Progress
2016-03-16 12:38:17 +03:00
Natalia Ukhorskaya
e2d2d696c0
Add function name to fake local variable for inline argument
2016-03-15 13:25:49 +03:00
Alexander Udalov
994dc46bcd
Write nullability annotations on extension receiver parameters
...
#KT-5429 Fixed
2016-03-11 15:20:32 +03:00
Pavel V. Talanov
597c571f25
Fix diagnostic range when some qualifier is unresolved in "@a.b.c.Anno"
...
#KT-7747 Fixed
2016-03-11 15:00:02 +03:00
Michael Bogdanov
c38f28fb08
Restore last inline function call site line number on lambda inlining into @InlineOnly function
2016-03-10 17:08:17 +03:00
Dmitry Jemerov
9cb980b211
Merge pull request #825 from mcgee/KT-5728
...
#KT-5728 Fixed
2016-03-09 12:27:36 +01:00
Alexander Udalov
8f7047817f
Fix debugger testData after improving toString() of lambdas
2016-03-09 13:41:00 +03:00
Anton Sukhonosenko
5bb8bf7381
#KT-5728 Fixed
...
Code review fixes
2016-03-08 22:30:14 +03:00
Anton Sukhonosenko
31fea1d2b7
#KT-5728 Fixed
2016-03-08 22:30:07 +03:00
Manas Chaudhari
f54f56d86b
Add quickfix for adding documentation
2016-03-08 17:43:16 +01:00
Manas Chaudhari
88fcad02a9
Implement Missing Documentation Inspection
...
#KT-1494 Fixed
2016-03-08 17:41:18 +01:00
Pavel V. Talanov
1affb05b7b
Fix typechecker in case of "for ((a, b) in) { }"
...
Fixes NDFDE
2016-03-04 16:52:34 +03:00
Pavel V. Talanov
363d545bd5
Parameters of function types are always considered local
2016-03-04 16:52:33 +03:00
Valentin Kipyatkov
5aca50b4ca
Enhanced constructor descriptor should not loose its source!
...
#KT-11256 Fixed
2016-03-02 21:43:43 +03:00
Alexander Udalov
8e77e16bbd
Remove leftovers of platformName and platformStatic in test data
...
Drop unnecessary imports, rename some tests
2016-03-02 16:47:04 +03:00
Mikhail Glukhikh
c7f3a31517
Create subclass intention implemented #KT-8473 Fixed
...
Can be used for implementing interfaces / abstract classes / sealed classes or extending open classes
2016-03-02 10:05:27 +03:00
Dmitry Jemerov
103f8300fb
don't show "Change type arguments" fix when there's nothing to change
...
#KT-11178 Fixed
2016-02-26 16:11:24 +01:00
Pavel V. Talanov
a4c005fefd
Update existing test data depending on diagnostic parameter rendering
2016-02-26 14:45:11 +03:00
Pavel V. Talanov
e397544aee
Improve NONE_APPLICABLE ide renderer
2016-02-26 14:45:10 +03:00
Pavel V. Talanov
8cbc9eee3e
Improve AMBIGUOUS_CALLS renderer
2016-02-26 14:45:09 +03:00
Pavel V. Talanov
b399bbffd7
Improve JvmConflictingDeclarations diagnostics rendering
2016-02-26 14:45:08 +03:00
Pavel V. Talanov
5dcfdb3996
Test return type mismatch on override diagnostic rendering
2016-02-26 14:45:07 +03:00
Pavel V. Talanov
7ba4adf006
Add tests for diagnostics rendering
2016-02-26 14:45:06 +03:00
Pavel V. Talanov
4ab5aabfa0
Adjust existing test data for diagnostic messages
2016-02-26 14:45:06 +03:00
Pavel V. Talanov
77f74a929a
Revert 06215ca932
...
It led to parameter names missing in parameter info and completion for compiled java code used from kotlin
See KT-11039
2016-02-26 14:05:47 +03:00
Alexander Udalov
5f39f628c9
Fix and test built-ins decompiler for incompatible version
2016-02-26 11:29:10 +03:00
Alexander Udalov
f130755972
Use new built-in binary format (.kotlin_builtins files) in IDE
...
Instead of .kotlin_class and .kotlin_package files, .kotlin_builtins files are
now supported: they are decompiled to a long file consisting of all non-real
classes (those which do not also have .class files) and members in the
corresponding package.
Unlike the old files, .kotlin_builtins files have a binary version in the
beginning, which allows us to skip decompilation and stub building in case the
file has an unsupported version. This could previously lead to exceptions, see
KT-11077, EA-79339.
The change in DecompiledTextFactory is needed because without "defined in ..."
the keys for members in the long decompiled file are not unique, as there are
multiple members with exactly the same signatures in different classes (e.g.
arithmetic operations in primitive classes).
Remove testData files with the decompiled text and stubs of built-in symbols
because now that the whole package is decompiled to a single file, it would be
painful to update these files each time something in built-in sources changes
#KT-11077 Fixed
2016-02-26 11:29:10 +03:00
Denis Zharkov
fe7393dc1a
Fix testData
2016-02-25 11:15:18 +03:00
Michael Bogdanov
f149f16882
Separately process inline function default impl body compilation (non general inline magic),
...
Fix for KT-10670 Debugger: Evaluate Expression/Watches fail for inline function parameter initialized with default value
#KT-10670 Fixed
2016-02-24 14:06:29 +03:00
Alexander Udalov
1b8f934b54
Delete deprecated enum 'values' property
2016-02-19 22:28:44 +03:00
Michael Bogdanov
1d17bee6cc
Don't generate source mapping on inlining 'InlineOnly' functions
2016-02-19 16:08:03 +03:00
Mikhail Glukhikh
883e2e4d2b
KT-9498 extension: now type can be inferred for getter with expression body
2016-02-19 14:49:25 +03:00
Mikhail Glukhikh
4c1c64fa08
Quick fix for adding arrayOf wrapper for annotation parameters #KT-10063 Fixed
2016-02-19 13:32:49 +03:00
Mikhail Glukhikh
c9c391e688
Specify property type by accessor type (preliminary) #KT-9498 Fixed
2016-02-19 13:32:46 +03:00
Natalia Ukhorskaya
c5d788d049
Debugger: do not put breakpoints at lines from another file in case of inline function
2016-02-17 15:08:56 +03:00
Natalia Ukhorskaya
42927bb078
Make function delegated to sam adapter synthetic
2016-02-17 15:08:53 +03:00
Alexey Sedunov
651b00c323
Pull Members Up: Always insert spaces between keywords
...
#KT-10971 Fixed
2016-02-17 11:31:46 +03:00
Alexey Sedunov
d587bb2ea6
Change Signature: Support Change Signature quick-fix for Java -> Kotlin case
...
#KT-9401 Fixed
2016-02-17 11:31:40 +03:00
Mikhail Glukhikh
5def6eae5b
Correct handling of erroneous code during code extraction
2016-02-16 18:50:24 +03:00
Mikhail Glukhikh
eed4aa71db
No assertion error in getContainingPseudocode #KT-10983 Fixed
...
Also #EA-72954 Fixed
2016-02-16 18:50:20 +03:00
Mikhail Glukhikh
1bbc46729c
Effective visibility: concise diagnostic messages #KT-10761 Fixed
...
Also #KT-9760 Fixed
2016-02-16 15:58:50 +03:00
Mikhail Glukhikh
3049961b9a
Revert "Implicit exhaustive when annotation / highlighting"
...
This reverts commit 0cc09872b6 .
2016-02-16 15:57:38 +03:00
Valentin Kipyatkov
4cd7193047
KT-11018 Ctrl + Mouse Hover shows a var as val
...
#KT-11018 Fixed
2016-02-13 10:20:20 +03:00
Valentin Kipyatkov
c9f26de9f5
Introduce/eliminate when subject intentions to keep line breaks and comments
2016-02-13 10:20:19 +03:00