Commit Graph

46 Commits

Author SHA1 Message Date
Dmitry Gridin 6c439ae85a Create TrailingCommaIntention
#KT-34744
2020-02-04 21:34:53 +07: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
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
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
Kirill Rakhman 8bc020f31b Fix modifier order in generated overriden functions
Fixes #KT-21600
2018-01-16 15:42:02 +01: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
Mikhail Glukhikh b111d1ba69 Convert reference to lambda intention introduced #KT-13393 Fixed 2016-11-24 15:26:18 +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
Dmitry Jemerov 079d857aa2 update testdata for https://github.com/JetBrains/kotlin/pull/896/ 2016-07-19 17:58:09 +02: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
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
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 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
Valentin Kipyatkov 2bd1362be6 Create function/property from usage: added "member" when appropriate + changed order 2015-06-29 19:29:25 +03:00
Valentin Kipyatkov 1ad5ea4f7e Corrected test data 2015-05-14 01:10:13 +03:00
Valentin Kipyatkov 837e46a9b8 Big change in quickfix tests: no stupid test data format with "before" and "after" file prefixes 2015-05-08 22:29:42 +03:00
Stanislav Erokhin 3de0dff575 Migrate testdata to new lambda syntax 2015-04-07 13:08:53 +03:00
Alexey Sedunov fe9b08f93d Create From Usage: Place local variable declaration right before its usage
#KT-6704 Fixed
2015-03-11 23:33:54 +03:00
Alexey Sedunov 8a0808b133 Create From Usage: Do not generate type for local variables, but add dummy initializer instead
#KT-6705 Fixed
2015-03-11 23:33:52 +03:00
Alexey Sedunov 97b0f50d35 Create from usage (function/property): Suggest separate actions for extensions and non-extension declarations
#KT-6023 Fixed
2015-02-20 17:28:36 +03:00
Alexey Sedunov 05a0481efa Formatter: Fix spacing between '=' and '{' in property accessors 2014-12-23 20:43:19 +03:00
Alexey Sedunov c487cc7838 Create From Usage: Do not generate unnecessary/skip necessary empty lines 2014-11-13 17:27:24 +03:00
Alexey Sedunov 42a74f55da Create From Usage: Remove "from usage" words from action text 2014-11-10 21:10:29 +03:00
Alexey Sedunov 2b43aad4f9 Create From Usage: Fix rendering of nullable types 2014-10-14 01:59:54 +04:00
Alexey Sedunov 2e6d4b3501 Create From Usage: Support EXPRESSION_EXPECTED_PACKAGE_FOUND diagnostic 2014-10-14 01:59:49 +04:00
Alexey Sedunov 497e4fab79 Create From Usage: Generate Unit-typed declaration if result is unused
#KT-5903 Fixed
2014-10-14 01:59:44 +04:00
Alexey Sedunov 5ade563902 Create From Usage: Join local "vars" with their initializers 2014-10-03 20:18:43 +04:00
Alexey Sedunov 865c793561 Create From Usage: Do not suggest "val" for references used as assignment left-hand side 2014-10-03 20:18:42 +04:00
Alexey Sedunov 58126b28ca Create From Usage: Quick-fix for properties 2014-10-03 20:18:41 +04:00
Alexey Sedunov 8386bcd4e0 Create Local Variable From Usage: Support lambdas 2014-10-03 20:18:39 +04:00
Alexey Sedunov 6ad2157806 Create From Usage: Quick-fix for value parameters 2014-10-03 20:18:39 +04:00
Alexey Sedunov 4ca39e8f9a Create From Usage: Quick-fix for local variables 2014-09-30 19:55:46 +04:00