Alexey Sedunov
130e4fb745
Introduce Type Alias
...
#KT-12902 Fixed
2016-07-20 11:46:59 +03:00
Alexey Sedunov
ce0e5b4b46
Convert to Kotlin: AbstractParameterTablePanel.java
2016-07-20 11:46:58 +03:00
Alexey Sedunov
27773fbe99
Convert to Kotlin: AbstractParameterTablePanel.java (rename to .kt)
2016-07-20 11:46:57 +03:00
Alexey Sedunov
3d49b27269
Convert to Kotlin: ExtractFunctionParameterTablePanel.java
2016-07-20 11:46:57 +03:00
Alexey Sedunov
abe7b8c513
Convert to Kotlin: ExtractFunctionParameterTablePanel.java (rename to .kt)
2016-07-20 11:46:56 +03:00
Alexey Sedunov
6b0968c939
Refactoring: Extract AbstractParameterTablePanel class
2016-07-20 11:46:55 +03:00
Alexey Sedunov
9e339c12e9
Minor: Move and rename KotlinFunctionSignatureComponent
2016-07-20 11:46:54 +03:00
Alexey Sedunov
301f86cc96
Refactoring: Extend expression selection utilities to support KtTypeElement
2016-07-20 11:46:54 +03:00
Dmitry Jemerov
ef0318e038
more testdata updates due to default function template change
2016-07-20 10:44:54 +02:00
Valentin Kipyatkov
cc6b1faddd
Minor
2016-07-19 20:35:31 +03:00
Valentin Kipyatkov
cd5ffa5895
"class" and "class.java" should be available after expression too
2016-07-19 20:35:31 +03:00
Valentin Kipyatkov
a25841e9c7
Smart completion for bound callable references
2016-07-19 20:35:31 +03:00
Valentin Kipyatkov
e05aa41bbc
Completion and import popup for bound callable references
2016-07-19 20:35:31 +03:00
Dmitry Jemerov
079d857aa2
update testdata for https://github.com/JetBrains/kotlin/pull/896/
2016-07-19 17:58:09 +02:00
Natalia Ukhorskaya
3cbe28095b
Debugger: check that label for marked object is a valid java identifier (KT-12651)
...
#KT-12651 Fixed
2016-07-19 17:52:55 +03:00
Nikolay Krasko
5ea74ed562
Remove call invokeAndWait() under read lock in debugger (KT-13037)
...
Call to invokeAndWait() in dispatch thread or in situation when read lock isn't held left untouched. Can't remove invokeAndWait() completely because without the
progress bar idea looks to be stacked on debugger start because of long search for inline functions usages (searching for breakpoints places).
#KT-13037 Fixed
2016-07-19 17:52:55 +03:00
Laszlo Hornyak
fafbbf697d
new function body changed to call the shorter TODO() function ( #896 )
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com >
2016-07-19 17:09:05 +03:00
Alexey Sedunov
ccfca0e3dd
Inline Type Alias
...
#KT-12903 Fixed
2016-07-19 15:44:35 +03:00
Alexey Sedunov
7773a1c4e0
Inline Variable/Property: Move test data
2016-07-19 15:42:15 +03:00
Dmitry Jemerov
dc0020b666
in REPL tests, wait for process destroyed handler to fire after destroying process and before performing the rest of dispose
2016-07-19 13:24:56 +02:00
Dmitry Jemerov
30f00bb618
fix muted test MultiFileIntentionTestGenerated.testImplementAbstractMember_implementVarInJava_ImplementAllInJava: apply intention in deterministic order, remove trailing space in expected output file
2016-07-19 11:17:48 +02:00
Dmitry Jemerov
9100ca8837
fix testdata for muted test IntentionTestGenerated$ReplaceItWithExplicitFunctionLiteralParam.testApplicable_nestedFunctionWithIt
2016-07-19 11:17:03 +02:00
Kirill
b9d235dec8
Implement quickfix for wrong long suffix
...
Fixes: KT-13134
2016-07-18 22:49:22 +02:00
Mikhail Glukhikh
9df96bdd26
KotlinJUnitStaticEntryPoint.wasSelected made public field #KT-13114 Fixed
...
(cherry picked from commit 5cafae5)
2016-07-18 17:10:41 +03:00
Mikhail Glukhikh
a3b52fd8a6
Lambda to callable reference: inspection is optional depending on text length
...
(cherry picked from commit ce0c43c)
2016-07-18 17:10:31 +03:00
Mikhail Glukhikh
220141ab2b
Convert lambda to callable reference intention / inspection #KT-10903 Fixed
...
(cherry picked from commit b620099)
2016-07-18 17:10:15 +03:00
Denis Zharkov
b5bdb070a0
Fix test data after 4725dd3
2016-07-16 09:10:35 +03:00
Denis Zharkov
3b0131fd04
Fix ConvertTextJavaCopyPasteProcessor after 4725dd3
...
In cases like 'fun foo() = \n fun dummy(){}'
declaration on the next line is parsed as top-level declaration.
But ConvertTextJavaCopyPasteProcessor expects that 'fun dummy(){}'
would be a part of an expression body, so we replace "\n" with " "
to turn off recovery in the case
See TextJavaToKotlinCopyPasteConversionTestGenerated.testAsExpressionBody
2016-07-16 09:10:00 +03:00
Dmitry Jemerov
e224041760
show line markers for properties defined in the primary constructor (KT-12626)
2016-07-14 23:32:07 +02:00
Dmitry Jemerov
4391d833b9
do not reenter indices to avoid deadlock
...
#KT-12718 Fixed
2016-07-14 23:32:05 +02:00
Dmitry Jemerov
5380b63522
don't consider calls to methods with the same name as a property to be calls to accessors of that property
...
#KT-12813 Fixed
2016-07-14 23:32:04 +02:00
Dmitry Jemerov
14037f099c
correctly find usages of overridden Java method through synthetic accessors
...
#KT-12869 Fixed
2016-07-14 23:32:02 +02:00
Dmitry Jemerov
b09fc7c146
Kotlin JUnit run configuration producer needs to take precedence over IDEA's PatternConfigurationProducer
...
#KT-13084 Fixed
2016-07-13 15:48:21 +02:00
Dmitry Jemerov
5201fc171b
ClsWrapperStubPsiFactory can be a singleton
2016-07-13 13:16:15 +02:00
shiraji
113ab7640e
Implement inspection to remove @ from annotation argument #KT-9228 Fixed
...
(cherry picked from commit 543c6bc)
2016-07-13 13:11:43 +03:00
Mikhail Glukhikh
39ffb68cc6
KT-12942 related: remove braces now does not work for if inside if
...
(cherry picked from commit c1faed5)
2016-07-12 17:27:19 +03:00
Mikhail Glukhikh
3fe114fc24
When to if now add braces for if branches inside #KT-12942 Fixed
...
(cherry picked from commit 29a7bfe)
2016-07-12 17:27:03 +03:00
Mikhail Glukhikh
b675b49daf
Specify type explicitly: do not consider star projection arguments in KotlinType.isFlexibleRecursive() #KT-13055 Fixed
...
(cherry picked from commit 828f4bf)
2016-07-12 17:26:50 +03:00
Mikhail Glukhikh
51ccfc120e
Can be primary constructor property: check whether property belongs to the same class #KT-12876 Fixed
...
(cherry picked from commit eb05a7a)
2016-07-12 17:26:39 +03:00
Nikolay Krasko
57ef3f5656
Generate linenumber for goto instruction in while (KT-13059)
...
Otherwise linenumber for previous instruction will be used in debugger. That can lead to error stepping
because it might be line that isn't reachable on current iteration.
#KT-13059 Fixed
2016-07-12 15:19:02 +03:00
Ilya Chernikov
ee2c5c1b73
minor: Make script dependencies classpath processing more robust
2016-07-12 13:21:11 +02:00
Nikolay Krasko
434a84eab6
Disable local mirrors for public teamcity
2016-07-12 12:16:39 +03:00
Nikolay Krasko
6b10a9d94e
Tests for Gradle inspections with configured Gradle project
2016-07-12 12:16:38 +03:00
Nikolay Krasko
585c8eea0b
Warn about using different versions of Kotlin plugin and standard library in Gradle (KT-12730)
...
#KT-12730 Fixed
2016-07-12 12:16:35 +03:00
Nikolay Krasko
5246b8a926
Fix getting external path for retrieving gradle model
2016-07-12 12:14:25 +03:00
Nikolay Krasko
9b1eb0931f
Refactoring: extract method for getting Kotlin plugin version and remove findAllRecursively usage
2016-07-12 12:14:24 +03:00
Nikolay Krasko
8852c8812b
Use internalName for compare with module name
2016-07-12 12:14:23 +03:00
Pavel V. Talanov
254ab72eb5
Put all stub versions into one place, explain their meaning
2016-07-11 19:07:16 +03:00
Nikolay Krasko
0b5786b9e8
Fix LocalVarShadowingMemberProperty test by renaming test files
2016-07-11 13:52:37 +03:00
Nikolay Krasko
b0226fd91c
Fix bad refactoring
2016-07-11 13:52:15 +03:00