30 Commits
Author SHA1 Message Date
Vladimir Dolzhenko bab54c6d29 [kotlin] Improve test coverage of collected FUS quickfixes data
#KTIJ-389

GitOrigin-RevId: c8554b77a988a77484d1dada64353345b7a1fa35
2023-07-20 05:59:17 +00:00
Victor Petukhov 79fcfa574e [Kotlin] Remove explicit configuring of new inference in tests
GitOrigin-RevId: 9f49f700c17c7572a09f281464da0509f53e5458
2022-08-02 09:31:13 +00:00
Ivan Kylchik 156ff92845 [kotlin:testdata] Replace all occurrences of WITH_RUNTIME with WITH_STDLIB
We are going to deprecate `WITH_RUNTIME` directive in kotlin test
infrastructure. The main reason behind this change is that
`WITH_STDLIB` directive better describes its meaning,
specifically it will add kotlin stdlib to test's classpath.

GitOrigin-RevId: 73a702b404ed63e728ad85fa750d5d87ce5bc7f4
2021-11-19 19:27:17 +00:00
Toshiaki Kameyama 5c3fc7a05e Remove comments from function/property implementation template
#KT-18539 Fixed

GitOrigin-RevId: cfe65b4d353713ed7ea4e30d46ffac265f243335
2019-11-13 02:37:25 +03:00
Mikhail Zarechenskiy 65d2728b7e [IDE-NI-MIGRATE] Migrate QuickFix tests for new inference
GitOrigin-RevId: 26cfb1a014305b8f5874454b92f5f8860f621945
2019-05-06 13:59:24 +03:00
Kirill Rakhman b15ba3e074 Fix Quickfix for missing operator adds infix modifier to created function (#1012)
Fixes #KT-14907

GitOrigin-RevId: 40a29c813a769c777b2f0d80e5c0ac2485a32d62
2017-01-09 14:03:22 +03:00
Alexey Sedunov 88ce7805fd Create from Usage: Support array access expressions/binary expressions with type mismatch errors
#KT-14501 Fixed

GitOrigin-RevId: 06ff00dc641bb0378fde8bf769b12bf301a5146f
2016-11-07 20:03:35 +03:00
Alexey Sedunov e8ad99013c Create from Usage: Make extension functions/properties 'private' by default
#KT-11799 Fixed

GitOrigin-RevId: 50bdd9869850d51b02c4e656ae831457422da4c6
2016-08-18 19:15:37 +03:00
Alexey Sedunov 92ffdc8f3c Create from Usage: Show target class name in the text of "Create member" quick fix
(cherry picked from commit a51d3fc)

GitOrigin-RevId: 7470bb83faad9230f79fffe9c617d716a7a2eac8
2016-07-20 15:39:19 +03:00
Alexey Sedunov 717b1772d2 Create from Usage: Show receiver type in the text of "Create extension" quick fix
(cherry picked from commit c0d5df1)

GitOrigin-RevId: 1c8d03e69bc1a0d0d40043dd55a94edaf240ab17
2016-07-20 15:39:13 +03:00
Alexey Sedunov 958feb0d30 Code Insight: Format generated declarations
#KT-11176 Fixed
(cherry picked from commit 3641ad6)

GitOrigin-RevId: c0c1928dcd9aa68c839358bfafc90cc5e2ff2d55
2016-07-20 15:39:05 +03:00
Dmitry Jemerov 3fef05c014 update testdata for https://github.com/JetBrains/kotlin/pull/896/
GitOrigin-RevId: 2f5583c6f58eae243db6ab13df16e4c18d202c09
2016-07-19 18:58:09 +03:00
Pavel V. Talanov 012d5f8887 Tests: add runtime (and runtime sources) to some tests that rely on being able to resolve references to built ins
GitOrigin-RevId: c12a0b748b366a5b08b96d9a7afe952a9f29d7ce
2015-12-15 20:22:09 +03:00
Yan Zhulanow 86a3860bef Minor: fix quickfix tests (get/set functions are now created correctly, merge issue)
GitOrigin-RevId: db238ab2a998a7a3978255990f25737373a94c37
2015-11-27 20:30:19 +03:00
Yan Zhulanow 6dd0825921 Fix tests: "infix modifier required" and "operator modifier required" errors
GitOrigin-RevId: 1abe9dbc56ccf5e2c31050ac25f0fb1480dd8926
2015-11-27 15:51:11 +03:00
Yan Zhulanow 3cc5ae0090 Fix tests: "Placing function type parameters after the function name" error
GitOrigin-RevId: efb3914b294b96c779131b5f6c832ee0435bc5ba
2015-11-27 15:51:11 +03:00
Alexey Sedunov 1dbeff30bd Create from Usage: Add infix modifier to functions generated from binary expressions
#KT-10184 Fixed

GitOrigin-RevId: dba90eae3ac4f18a7597e4e604474d588cf548a2
2015-11-26 21:22:20 +03:00
Michael Nedzelsky 0c133baa10 fix tests for quoted names
GitOrigin-RevId: 35e392f95a8e6d5cfb45ef9c8781958f4095a3b4
2015-10-14 16:57:00 +03:00
Yan Zhulanow 224affe3a2 Rename unary plus() and minus() to unaryPlus() and unaryMinus()
GitOrigin-RevId: 148c5575e1d1e8d8f1c0d03645dc52b41f5127d7
2015-10-09 22:49:17 +03:00
Dmitry Jemerov 584ae83759 teach 'create from usage' to add 'operator' modifier when necessary
GitOrigin-RevId: 30d4337927bda54c8dc28bcf585c5f8779b4e5cb
2015-09-25 21:00:26 +03:00
Alexey Sedunov f09241a355 Create From Usage: Quote declaration name if it's not a valid identifier
#EA-70291 Fixed

GitOrigin-RevId: 3ac089024d14fde69256817864fb5dbb677d3079
2015-08-19 23:30:07 +03:00
Valentin Kipyatkov 8585354b48 Suggestions from expression itself to have higher priority + fixed incorect upper case naming
GitOrigin-RevId: 51aaaf4911251611135873cf9d1233cbd200ab0d
2015-06-29 19:36:49 +03:00
Valentin Kipyatkov f98d55f895 Create function/property from usage: added "member" when appropriate + changed order
GitOrigin-RevId: 8375d7ded124b063ea10bb0b4f3d0b6eb3dcbaa9
2015-06-29 19:29:25 +03:00
Valentin Kipyatkov 302e452503 Big change in quickfix tests: no stupid test data format with "before" and "after" file prefixes
GitOrigin-RevId: 45fbc60c20409dcc97f6177dad54704aeaa191ba
2015-05-08 22:29:42 +03:00
Alexey Sedunov 7dc757bf5b Create from usage (function/property): Suggest separate actions for extensions and non-extension declarations
#KT-6023 Fixed

GitOrigin-RevId: 00f05bc6adaa2a29073a40c08154ae123a925a7e
2015-02-20 17:28:36 +03:00
Alexey Sedunov 7dd8bd465c Create From Usage: Do not generate unnecessary/skip necessary empty lines
GitOrigin-RevId: 0206d765c6f6b63e35a1c0252821f463a236241c
2014-11-13 17:27:24 +03:00
Alexey Sedunov eb76a3abec Name suggester: Respect type parameter name when suggesting name for
variables based on that type parameter

GitOrigin-RevId: 69ef3d9c7c2893c782207b0d495855a1367c302e
2014-11-10 21:10:39 +03:00
Alexey Sedunov 7d4e9ac74a Create From Usage: Remove "from usage" words from action text
GitOrigin-RevId: 5d957f0f612c91d2ede211df4d39a567f414de30
2014-11-10 21:10:29 +03:00
Alexey Sedunov c87e3df0c4 Create From Usage: Generate Unit-typed declaration if result is unused
#KT-5903 Fixed

GitOrigin-RevId: c4056e7df74895002092f743b83869400905608a
2014-10-14 00:59:44 +03:00
Alexey Sedunov cbf057256f Create From Usage: Move "Create function"-related tests to separate directory
GitOrigin-RevId: e62b3d286f05ef236ffd8aec96f74589178bb932
2014-09-30 18:55:43 +03:00