Alexey Sedunov
14b33f8b95
Change Signature: Do not report conflict of object member with itself (available through the class object)
...
#KT-6345 Fixed
2014-12-11 17:50:31 +03:00
Alexey Sedunov
6bbe9b2bfe
Change Signature: Add test for KT-6410 (Change signature on constructor inserts fqName for newly added parameter type)
2014-12-11 17:50:29 +03:00
Alexey Sedunov
b1f82d7a23
Quick Fixes: Add test for KT-6430 (Create parameter quick fix inserts platform types into Kotlin code)
2014-12-11 17:50:28 +03:00
Alexey Sedunov
8cc3af99a0
Change Signature: Retain parameter modifier list
2014-12-11 17:50:27 +03:00
Alexey Sedunov
7d1ed507a7
Call Hierarchy: Filter out usages inside of import directives
2014-12-11 17:50:26 +03:00
Denis Zharkov
654411a0b0
Refactored tests using Array constructor:
...
Some moved to tests with stdlib
Some changed to use arrayOfNulls
2014-12-11 16:04:03 +03:00
Zalim Bashorov
65ef7525ce
Allow to use dynamic types for JS projects in IDEA.
2014-12-10 22:48:00 +03:00
Natalia Ukhorskaya
0ca811d7ae
Rename test
2014-12-10 13:45:30 +03:00
Natalia Ukhorskaya
c807cebfe6
Merge pull request #530 from yole/coverage
...
Initial implementation of coverage support in IntelliJ IDEA plugin.
2014-12-10 12:35:10 +03:00
Stanislav Erokhin
d334f3b31c
Fix completion for private_to_this.
2014-12-08 18:24:30 +03:00
Evgeny Gerashchenko
a94f7f10b0
Testing highlight type for all "unused" diagnostics.
2014-12-08 17:30:48 +03:00
Evgeny Gerashchenko
a3fdce8131
Highlighting "as Foo" for useless casts in gray.
...
#KT-6070 fixed
2014-12-08 17:30:47 +03:00
Alexey Sedunov
c917459926
Change Signature: Add support of type parameter substitutions in overriding members
2014-12-08 16:30:07 +03:00
Alexey Sedunov
250940c824
Change Signature: Propagate nullability annotations to overriding methods in Java
2014-12-08 16:30:05 +03:00
Alexey Sedunov
c9873428de
Change Signature: Update signatures of lambdas passed to SAM constructors
2014-12-08 16:30:04 +03:00
Alexey Sedunov
8f2c543f7e
Formatter: Add wrapping support for parameter/argument lists
...
#KT-6032 Fixed
2014-12-08 16:30:03 +03:00
Alexey Sedunov
c6541ccc6f
Change Signature: Do not insert new-lines between parameters (to be fixed later at the formatter level)
2014-12-08 16:30:02 +03:00
Alexey Sedunov
74cdecd829
Find Usages: Restrict search scope of class object private declarations to
...
the containing class
2014-12-08 16:30:00 +03:00
Dmitry Jemerov
0512b8ce1a
add test to verify output files; correctly handle lambdas
2014-12-08 12:51:08 +01:00
Nikolay Krasko
e2bf8b2eee
Suppress warning to avoid spontaneous addition actions
2014-12-05 19:07:46 +03:00
Valentin Kipyatkov
7ba11b0f2f
Fixed auto-import of operator functions broken before + fixed bug in its implementation
2014-12-03 21:09:29 +03:00
Valentin Kipyatkov
de51948883
The test was not correct
2014-12-03 19:08:06 +03:00
Valentin Kipyatkov
dfd5e773df
extensionsUtils.kt uses FuzzyType + more correct treatment of receiver nullability there
2014-12-03 19:08:06 +03:00
Valentin Kipyatkov
856be73500
Smart completion: generic functions are correctly included into the list
...
#KT-6375 Fixed
2014-12-03 19:07:04 +03:00
Valentin Kipyatkov
a40db1e794
Completion: for extension functions unsubstituted receiver type shown
2014-12-03 19:03:02 +03:00
Valentin Kipyatkov
1d288e6dcc
Completion: multiple extension methods with different substitutions may be shown
2014-12-03 19:03:02 +03:00
Valentin Kipyatkov
2c08b3e229
Extension methods shown with type arguments substituted in completion list
2014-12-03 19:03:02 +03:00
Valentin Kipyatkov
3df3e57b05
Added tests
2014-12-03 19:02:20 +03:00
Valentin Kipyatkov
05bb32545f
Fixed all members are grayed in global context
2014-12-03 19:02:20 +03:00
Valentin Kipyatkov
cf35fc1fd5
Completion: immediate members get higher priority in the list
2014-12-03 19:02:20 +03:00
Valentin Kipyatkov
72ff719001
Completion: added package name for global functions/properties in the list
2014-12-03 19:01:48 +03:00
Valentin Kipyatkov
6ddedb7825
Better imported/non-imported items sorting in completion
2014-12-03 19:00:58 +03:00
Valentin Kipyatkov
94b7945cd8
Added a test
2014-12-03 19:00:57 +03:00
Valentin Kipyatkov
48edd5f02a
Fixed completion list ordering for java classes
2014-12-03 19:00:57 +03:00
Valentin Kipyatkov
9dc6a82fef
More clear code + better test
2014-12-03 19:00:57 +03:00
Valentin Kipyatkov
6502c44928
Immediate extension members are correctly detected for platform types
2014-12-03 19:00:57 +03:00
Valentin Kipyatkov
acfd308a7e
Code completion: graying members after dot completion for nullable value
2014-12-03 19:00:57 +03:00
Natalia Ukhorskaya
3ab7c6c8e9
Evaluate Expression: fix for anonymous objects - expressions where anonymous type can be replaced with super type can be evaluated
2014-12-03 12:49:40 +03:00
Natalia Ukhorskaya
b056fd7e2e
Add test for completion with runtime type cast
2014-12-03 12:49:38 +03:00
Andrey Breslav
7f0df032b4
Highlight dynamic calls in the editor
2014-12-01 20:43:41 +03:00
Andrey Breslav
28b466d069
Parsing dynamic types
2014-12-01 20:43:37 +03:00
Valentin Kipyatkov
016af0b53c
Code completion: shorter presentation for member extensions
2014-11-28 15:33:28 +03:00
Valentin Kipyatkov
c1252c7963
Do not search inheritors of Any
2014-11-28 15:33:27 +03:00
Valentin Kipyatkov
9af2877f97
Inheritors in smart completion work for the classes in the same file too
2014-11-28 15:33:27 +03:00
Valentin Kipyatkov
4acf668ab8
Smart completion of inheritors: correct filtering of duplicates
2014-11-28 15:33:27 +03:00
Valentin Kipyatkov
85825e0ab1
Smart completion includes object's from scope before searching for inheritors
...
#KT-6123 Fixed
2014-11-28 15:33:27 +03:00
Valentin Kipyatkov
52acd223a2
Fixed KT-5211 Code completion in IntelliJ for generating anonymous class creates code with compile error "Projections are not allowed for immediate arguments of a super type"
...
#KT-5211 Fixed
2014-11-28 15:33:26 +03:00
Valentin Kipyatkov
3566ac1510
Code completion: added type parameters for Kotlin classes too
2014-11-28 15:33:26 +03:00
Valentin Kipyatkov
820c2c7cd8
Smart completion: inheritors instantiation suggested + fixed a bug with incorrect presentation of generic java class instantiation
2014-11-28 15:33:26 +03:00
Alexander Udalov
a7b88e9485
Make CharSequence.length a function instead of property
...
And String.length as well.
This is done for JVM interoperability: java.lang.CharSequence is an open class
and has a function 'length()' which should be implemented in subclasses
somehow.
A minor unexpected effect of this is that String.length() is now a compile-time
constant (it wasn't such as a property because properties are not supported in
compile-time constant evaluation)
#KT-3571 Fixed
2014-11-27 20:38:17 +03:00