Pavel V. Talanov
8e264a1419
Test for formatting loop parameter with explicit type
2014-03-24 17:05:58 +04:00
Alexander Udalov
d704b37240
Minor, delete outdated suppressions, fix warnings
2014-03-24 16:40:07 +04:00
Nikolay Krasko
b05fb38dcd
Fix ArrayIndexOutOfBoundsException in named parameters completion
2014-03-24 15:19:26 +04:00
Nikolay Krasko
de891ebc6e
Use JB colors to avoid problems with different color schemes
...
- Fix KT-4725 Project wizard: bad font color
- Some warnings fixed
#KT-4725 Fixed
2014-03-24 15:19:25 +04:00
Nikolay Krasko
287c1f4c71
Test for Complete class names in expression position (KT-2821, KT-3779)
...
#KT-2821 Fixed
#KT-3779 Fixed
2014-03-24 15:19:24 +04:00
Natalia Ukhorskaya
8511c683c6
Fix SmartStepInto tests on ubuntu
2014-03-24 13:50:12 +04:00
Alexey Sedunov
46045a5538
Move top-level declarations to separate file: UI
2014-03-21 19:53:50 +04:00
Alexey Sedunov
5aa75ba3e1
Move top-level declarations to separate file: Refactoring processor and tests
2014-03-21 19:53:49 +04:00
Alexey Sedunov
6ddcd51af2
Rename test data directories
2014-03-21 19:53:47 +04:00
Pavel V. Talanov
6524adee0f
KT-4735: Exception from type checker prevents copy/paste
...
#KT-4735 Fixed
2014-03-21 19:20:23 +04:00
Natalia Ukhorskaya
fdef0b03fe
Fix compilation
2014-03-21 17:21:42 +04:00
Natalia Ukhorskaya
e8d2ba197e
Debugger: implement Smart Step Into
...
#KT-4639 Fixed
2014-03-21 16:08:01 +04:00
Nikolay Krasko
0b1470b5e5
Remove com.beust.jcommander.internal.Lists usage
2014-03-20 16:38:55 +04:00
Alexander Udalov
7d311cdfa0
Support named arguments for Java constructors annotated with KotlinSignature
2014-03-20 12:49:16 +04:00
Alexander Udalov
d2dc54c14f
Add test on named arguments completion for Kotlin library
2014-03-20 12:25:58 +04:00
Alexander Udalov
1c25723764
Don't suggest non-stable parameter names in completion
2014-03-20 12:19:26 +04:00
Svetlana Isakova
b33e3fc9d6
Merge pull request #371 from Stebalien/push-not-in-intention
...
Add an intention to simplify negated expressions.
2014-03-20 11:15:36 +03:00
Mikhael Bogdanov
9577c5c6ff
Fixed wrong argument usage and ClassCastException
2014-03-20 10:45:55 +04:00
Svetlana Isakova
a829da185d
Resolve invoke on any kind of expressions, not only on simple name expressions
2014-03-20 10:05:24 +04:00
Alexander Udalov
1c5df773c5
Disallow named arguments for Java methods
...
Since they don't have stable names: they're (sometimes) loaded from the
bytecode, which (sometimes) doesn't contain parameter names
2014-03-19 23:24:28 +04:00
Evgeny Gerashchenko
f61470943a
KT-4683 KotlinNullPointerException at remove braces intention
...
#KT-4683 fixed
EA-54686 fixed
EA-54687 fixed
2014-03-19 23:20:24 +04:00
Nikolay Krasko
7b8e6fa462
Add kotlin templates for project create wizard
...
#KT-4689 Fixed
2014-03-19 21:08:29 +04:00
Ilya Ryzhenkov
a3b45b919c
Temporarily replace usages of extension on iterators in compiler by _tmp() calls
2014-03-19 20:25:16 +04:00
Ilya Ryzhenkov
94c88695bb
Function moved to stdlib
2014-03-19 20:25:13 +04:00
Ilya Ryzhenkov
0267e2910d
Test data fixed after stdlib updtae
2014-03-19 20:25:13 +04:00
Ilya Ryzhenkov
06873e9d09
Library paths updated after migration to new stdlib generators
2014-03-19 20:25:12 +04:00
Steven Allen
d198465522
Add an intention to simplify negated binary expressions
...
Given an expression of the form `!(a op b)`, replace it with `a !op b`.
For example:
!(a < b) -> a >= b
!(a is Int) -> a !is int
2014-03-19 12:10:28 -04:00
Mikhael Bogdanov
86a02b54fa
Fix for debugger to support inlined lambdas
2014-03-19 19:20:36 +04:00
Nikolay Krasko
3b60dfa45b
Refactoring: rename weight result enums
2014-03-19 17:59:43 +04:00
Nikolay Krasko
607314989c
KT-1633 support completion of named function parameters
2014-03-19 17:59:41 +04:00
Alexey Sedunov
482d228253
Allow to move Kotlin file if it contains single top-level class/object
2014-03-19 15:31:30 +04:00
Alexey Sedunov
2f0d0c4d26
Move top-level declarations: Refactoring UI
2014-03-19 15:31:30 +04:00
Alexey Sedunov
abcba89ad3
Move top-level declarations: Implement refactoring processor
2014-03-19 15:31:29 +04:00
Alexey Sedunov
5836bb41b6
Move file/directory-related refactorings to separate package
2014-03-19 15:31:27 +04:00
Alexey Sedunov
1772e453e5
Unwrap light elements before filtering out non-source search targets
2014-03-19 15:31:26 +04:00
Alexey Sedunov
05d93df8b8
Unwrap light elements before getting FqName
2014-03-19 15:31:26 +04:00
Alexey Sedunov
acaa900ee9
Introduce reference shortening mode
2014-03-19 15:31:25 +04:00
Alexey Sedunov
a0ab7f6f22
Add utility function for Kotlin file creation
2014-03-19 15:31:24 +04:00
Alexey Sedunov
e2d0ecc437
Extract utility function
2014-03-19 15:31:23 +04:00
Alexey Sedunov
a094ea6550
Rename class
2014-03-19 15:31:22 +04:00
Tal Man
baac1b9b0b
Fix to a bug in the intention to move lambda expressions inside parentheses, type arguments were being deleted
2014-03-18 19:25:50 +04:00
Nikolay Krasko
5362b81ea5
Don't search in random directories for existent libraries
...
#KT-4644 In Progress
2014-03-18 16:16:24 +04:00
Nikolay Krasko
3911a6f54b
Search library kinds
...
#KT-4644 In Progress
2014-03-18 16:16:24 +04:00
Nikolay Krasko
6b0298b933
Silently disable other incompatible framework
...
#KT-4644 In Progress
2014-03-18 16:16:23 +04:00
Nikolay Krasko
8ddbdab8c8
Support library create with relative paths
...
#KT-4644 In Progress
2014-03-18 16:16:22 +04:00
Nikolay Krasko
16018ccfe8
Minor: add @TestOnly annotation
2014-03-18 16:16:22 +04:00
Andrey Breslav
f7c5dc179c
Eager resolve does not record class object bounds (which are unsupported anyways)
2014-03-17 21:55:17 +04:00
Andrey Breslav
8be40c29cf
CYCLIC_INHERITANCE_HIERARCHY reworked
...
We do not try to recover too gracefully from a cyclic hierarchy any more:
we simply remove all the edges that belong to a cycle instead of intelligently finding one most convenient edge to cut.
This is done in both lazy and eager resolve to keep tests passing.
2014-03-17 21:55:15 +04:00
Andrey Breslav
131d6ddd3d
DelegatingType extracted
2014-03-17 21:40:17 +04:00
Alexander Udalov
8b18309b01
Don't write "ResolvedCall<? extends CallableDescriptor>"
...
ResolvedCall has a type parameter D which extends CallableDescriptor.
Hence in Java "ResolvedCall<? extends CallableDescriptor>" = "ResolvedCall<?>"
The same story with these classes:
- ResolutionTask
- CallCandidateResolutionContext
- OverloadResolutionResults
2014-03-17 19:09:09 +04:00