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
Alexey Sedunov
87aebd2cdf
Create from Usage: Forbid "Create local variable/parameter/property" on callable references
...
#KT-10283 In Progress
2015-12-10 20:06:27 +03:00
Alexey Sedunov
44743aade5
Create from Usage: Allow type parameters in the receiver position
...
#KT-7497 Fixed
2015-12-10 20:06:26 +03:00
Dmitry Jemerov
863e32c5cd
Merge pull request #791 from mcgee/KT-9938
...
#KT-9938 Fixed
2015-12-09 15:17:31 +01:00
Alexey Sedunov
e517cbcf78
Quick Fixes: Implement "Rename unresolved reference" fix
...
#KT-8795 Fixed
2015-12-08 16:20:56 +03:00
Anton Sukhonosenko
da5f71773a
#KT-9938 Fixed
...
Code review fixes
2015-12-07 22:48:47 +03:00
Anton Sukhonosenko
6b49ac6b46
#KT-9938 Fixed
2015-12-06 01:44:57 +03:00
Alexey Sedunov
2dcc38b92f
Create from Usage: Forbid "Create parameter/local variable/property" on label references
...
#KT-10119 Fixed
2015-12-02 13:54:00 +03:00
Yan Zhulanow
a3ff3ffc45
Fix tests: "Placing function type parameters after the function name" error
2015-11-27 15:51:11 +03:00
Mikhail Glukhikh
4e44466cf9
Exposed visibility deprecation warnings made errors + relevant test fixes
2015-11-20 15:21:01 +03:00
Nikolay Krasko
911432c99c
Use default render to check are all errors mentioned in tests. It's far more easier to read.
2015-10-28 13:39:46 +03:00
Alexey Sedunov
929d06c86f
Create from Usage: Implement 'Create property as constructor parameter' quick-fix
...
#KT-8426 Fixed
2015-10-20 18:39:47 +03:00
Alexey Sedunov
84aa4e7664
Create from Usage: Fix rendering of receiver type reference
...
#KT-9559 Fixed
2015-10-20 18:39:40 +03:00
Michael Nedzelsky
7f0fbb4577
fix tests for quoted names
2015-10-14 16:57:00 +03:00
Pavel V. Talanov
47cca7db1f
Test data: adjust test data after prohibiting properties with typeparameters not used in receiver
2015-10-14 13:42:13 +03:00
Valentin Kipyatkov
55cbe185f8
Do not offer to convert to infix call when calling non-infix function
2015-10-12 15:10:39 +03:00
Alexey Sedunov
2b354cd4db
Create parameter: Look for containing function if no class is found. Support secondary constructors
...
#KT-9322 Fixed
2015-10-01 17:35:19 +03:00
Alexey Sedunov
aa080bf201
Create from Usage: Forbid for parameters/local variables when reference is not an identifier
...
#KT-9305 Fixed
2015-10-01 17:35:16 +03:00
Alexey Sedunov
d48851ba63
Create From Usage: Fix ClassCastException on local property with delegate
...
#EA-69707 Fixed
2015-08-19 23:30:10 +03:00
Alexey Sedunov
85f85e85b4
Create From Usage: Quote declaration name if it's not a valid identifier
...
#EA-70291 Fixed
2015-08-19 23:30:07 +03:00
Alexey Sedunov
d18a9f6d8a
Create From Usage: Fix StackOverflowException on recursive type parameter bounds
...
#EA-69240 Fixed
2015-08-19 23:29:55 +03:00
Mikhail Glukhikh
fe716d7e56
Change signature fix: correct parameter add / remove from enum constructor calls, relevant test fixes
2015-08-10 16:23:57 +03:00
Valentin Kipyatkov
eadeb6e63f
DirectiveBasedActionUtils: don't allow to specify ACTION directives that won't be checked anyway
2015-06-30 13:41:41 +03:00
Valentin Kipyatkov
2bd1362be6
Create function/property from usage: added "member" when appropriate + changed order
2015-06-29 19:29:25 +03:00
Pavel V. Talanov
07d35d305e
Create import list psi element even if no directives are present
...
Fix a problem where deleting last import directive via "optimize imports" could lead to incorrect psi structure resulting in CCE, see EA-64291
New imports are inserted at the head (after package directive if present) of the file (before any comments) if no imports were present
Add test for inserting import to file where a first statement is a comment
Drop code dealing with non-existing import list in ImportInsertHelperImpl
AbstractQuickFixTest: check for unexpected actions before changes to the file are made as it relies on the first line having specific format
2015-06-08 20:51:04 +03:00
Valentin Kipyatkov
0dc92c3ee8
QuickFixMultiFileTestGenerated - shorter test data files names
2015-05-27 16:15:44 +03:00
Mikhail Glukhikh
da3d083dc0
Quick fix for enum entry super constructor syntax fix, together with a set of tests
2015-05-15 16:13:36 +03:00
Valentin Kipyatkov
1ad5ea4f7e
Corrected test data
2015-05-14 01:10:13 +03:00
Dmitry Jemerov
625096466e
IDE testdata: s/trait/interface
2015-05-13 16:13:13 +02:00