Dmitry Gridin
ee0b7426c4
KotlinFunctionCallUsage: fix psi tree
...
#KT-38632
2020-05-07 12:36:44 +00:00
Dmitry Gridin
11a3482970
tests: apply official code style
...
#KT-38632 Fixed
2020-05-07 12:36:44 +00:00
Pavel Kirpichenkov
fda8d7de8b
[IDEA-TESTS] Specify language version in feature-dependent tests
...
Some quickfixes are relying on diagnostics, that won't be reported
with new language features enabled.
`MixedNamedArgumentsInTheirOwnPosition`
`AllowBreakAndContinueInsideWhen`
2020-02-17 10:56:46 +03:00
Dmitry Gridin
6c439ae85a
Create TrailingCommaIntention
...
#KT-34744
2020-02-04 21:34:53 +07:00
Toshiaki Kameyama
4d9b19da82
Remove comments from function/property implementation template
...
#KT-18539 Fixed
2019-11-13 08:37:25 +09:00
victor.petukhov
62d204f4d6
Support trailing comma
...
^KT-34743 Fixed
2019-11-01 19:40:20 +03:00
Pavel Kirpichenkov
b7e5d9faae
Update annotation rendering in diagnostics
...
Disable annotation rendering in default type and descriptor renderers.
Preserve annotations in Android and Serialization plugins.
Update error texts in ide tests.
Nullability annotations in Java descriptors are rendered with context-dependent renderer.
#KT-20258 Fixed
2019-10-04 11:18:45 +03:00
Igor Yakovlev
7b2f39530a
Fix invalid testdata for ConvertToScopeIntention applicability
2019-08-28 16:31:49 +03:00
Toshiaki Kameyama
fbd992f8c7
Add intentions to convert lazy <--> ordinary property
...
#KT-23501 Fixed
2019-06-17 01:10:19 +03:00
Mikhail Zarechenskiy
d4d1648e1d
[IDE-NI-MIGRATE] Migrate QuickFix tests for new inference
2019-05-06 13:59:24 +03:00
Dmitry Gridin
c89d1af9fa
Improve Create property from Usage
...
Place generated property next to other properties
#KT-14886 Fixed
2019-02-27 00:07:55 +03:00
Mikhail Glukhikh
c084eefb65
Fix a bunch of IDE quick-fix tests (related to "convert to run/...")
...
These actions became available more often some days ago
2019-02-25 10:37:46 +03:00
Dmitry Gridin
147521d6cb
Add intention to introduce import alias
...
#KT-16118 Fixed
#KT-30007 Fixed
2019-02-21 12:25:09 +03:00
Mikhail Glukhikh
6e10235208
Make "Add name(s) to call arguments" available for generic arguments
...
#KT-15550 Fixed
2018-10-27 12:13:42 +03:00
Mikhail Glukhikh
9a9e703e80
Do not suggest "create abstract property" inside annotation
2018-08-17 18:16:07 +03:00
Mikhail Glukhikh
04675b4446
Do not suggest "create local variable" inside primary constructor
...
#KT-26158 Fixed
EA-99300 Fixed
2018-08-17 18:15:47 +03:00
Alexey Sedunov
1f59ff1bd4
Minor: Fix test data
2018-08-08 15:32:00 +03:00
Vyacheslav Gerasimov
a2bf417d75
Remove 172 bunchset
2018-08-02 19:32:18 +03:00
Alexey Sedunov
a4a10c7ba4
Create from Usage: Fix generation of extensions with nullable receiver
...
#KT-23796 Fixed
2018-05-11 16:05:19 +03:00
Vyacheslav Gerasimov
8d3f71a04f
172: Revert "Quick Fixes: Support cross-language "Create from Usage" with Kotlin target"
...
This reverts commit 908bf71
2018-04-11 16:28:09 +03:00
Kirill Rakhman
8bc020f31b
Fix modifier order in generated overriden functions
...
Fixes #KT-21600
2018-01-16 15:42:02 +01:00
Alexey Sedunov
908bf71ae6
Quick Fixes: Support cross-language "Create from Usage" with Kotlin target
2018-01-16 17:06:53 +03:00
Alexey Sedunov
7e3ca4734d
Create from Usage: Add val to data class parameter
...
Also place new parameters on the new line if previous ones have line breaks
#KT-21162 Fixed
2017-11-30 12:49:25 +03:00
Toshiaki Kameyama
1043284afe
Add data modifier to a class quickfix #KT-18220 Fixed
2017-09-25 14:17:35 +03:00
Mikhail Glukhikh
43f9035d07
Minor test fix
2017-07-18 13:51:27 +03:00
Alexey Sedunov
95769dc9d3
Create from Usage: Make property lateinit where possible
...
#KT-17651 Fixed
2017-07-17 16:09:54 +03:00
Alexey Sedunov
b48feb257c
Create from Usage: Create data class property from destructuring entry
...
#KT-18540 Fixed
2017-07-17 16:09:48 +03:00
Mikhail Glukhikh
d08b18f5f8
Introduce "use expression body" inspection #KT-16063 Fixed
...
Converted from the relevant intention
Reported cases: one-liners, whens
Also, more exact caret detection in local inspection tests
2017-07-07 18:15:06 +03:00
Valentin Kipyatkov
1fe6886a33
Fixed error message to quote parameter name
2017-05-20 23:44:20 +03:00
Mikhail Glukhikh
382bf9a500
ConvertReferenceToLambda status refactoring
...
Intention is not registered now; inspection is enabled by default now,
but has highlight level of "No highlighting"
2017-05-10 14:56:38 +03:00
Vyacheslav Gerasimov
8c41e44b3b
Fix MovePropertyToConstructorIntention and broken tests
2017-03-24 21:55:27 +03:00
Ilya Gorbunov
b1b295f00f
Fix variance of Map.minus in expected diagnostics output.
2017-01-26 07:27:00 +03:00
Ilya Gorbunov
384b6410f2
New minus overloads appears in quickfix test data
2017-01-25 22:08:48 +03:00
Nikolay Krasko
2bb48fc802
Allow empty single-line bodies in property accessors
2016-12-14 13:40:44 +03:00
Alexey Sedunov
2a594a5bcc
Create from Usage: Support generation of abstract members for superclasses. Skip non-abstract superclasses when generating abstract member
...
#KT-14019 Fixed
2016-12-02 14:14:05 +03:00
Mikhail Glukhikh
b111d1ba69
Convert reference to lambda intention introduced #KT-13393 Fixed
2016-11-24 15:26:18 +03:00
Alexey Sedunov
c2b38cfa41
Create from Usage: Place extension properties after the usage and generate stub getter
...
#KT-11795 Fixed
2016-08-18 19:15:38 +03:00
Alexey Sedunov
99ba340236
Create from Usage: Make extension functions/properties 'private' by default
...
#KT-11799 Fixed
2016-08-18 19:15:37 +03:00
Alexey Sedunov
562488b348
Create from Usage: Disable "Create property" (non-abstract) in interfaces. Make "Create function" (non-abstract) generate function body in interfaces
...
#KT-13365 Fixed
2016-08-17 11:49:52 +03:00
Alexander Udalov
2fcd4e955a
Simplify code in callable reference resolution
2016-07-22 11:05:19 +03:00
Alexey Sedunov
a1e86e8bfa
Create from Usage: Show target class name in the text of "Create member" quick fix
...
(cherry picked from commit a51d3fc)
2016-07-20 15:39:19 +03:00
Alexey Sedunov
1a13c21377
Create from Usage: Show receiver type in the text of "Create extension" quick fix
...
(cherry picked from commit c0d5df1)
2016-07-20 15:39:13 +03:00
Alexey Sedunov
2abcd17713
Create from Usage: Support "Create member/extension" corresponding to the extension receiver of enclosing function
...
#KT-10668 Fixed
(cherry picked from commit bc4c013)
2016-07-20 15:39:09 +03:00
Alexey Sedunov
49b6811b44
Create from Usage: Support "Create abstract function/property" inside an abstract class
...
#KT-7492 Fixed
(cherry picked from commit 75f6b7f)
2016-07-20 15:39:07 +03:00
Dmitry Jemerov
079d857aa2
update testdata for https://github.com/JetBrains/kotlin/pull/896/
2016-07-19 17:58:09 +02:00
Dotlin
fa523b9af4
Delegated Properties: Analysis adjustments for local delegated properties support
2016-05-13 19:11:18 +03:00
Pavel V. Talanov
a4c005fefd
Update existing test data depending on diagnostic parameter rendering
2016-02-26 14:45:11 +03:00
Alexey Sedunov
fd79145b73
Change Signature: Represent parameter/receiver types using KotlinTypeInfo
2015-12-18 15:05:36 +03:00
Pavel V. Talanov
a667aa2f71
Tests: add runtime (and runtime sources) to some tests that rely on being able to resolve references to built ins
2015-12-15 20:22:09 +03:00
Alexey Sedunov
f50059a11a
Create from Usage: Implement "Create function" on callable references
...
#KT-10283 Fixed
2015-12-10 20:06:30 +03:00