Commit Graph

39 Commits

Author SHA1 Message Date
Toshiaki Kameyama 4d9b19da82 Remove comments from function/property implementation template
#KT-18539 Fixed
2019-11-13 08:37:25 +09:00
Toshiaki Kameyama bf5b559923 Add function supertype: make abstract function in sealed class
#KT-30769 Fixed
2019-04-22 16:11:59 +07:00
Dmitry Gridin c8ea62a0d9 Change function signature should change type parameters
#KT-22896 Fixed
2019-04-02 22:53:13 +07:00
Toshiaki Kameyama ddf647ae96 Remove redundant receiver in "Change function signature" quick fix
So #KT-12298 Fixed
2018-06-05 15:20:18 +03:00
Toshiaki Kameyama f93b21eaa2 Fix "Add function to supertype" braces #KT-23215 Fixed 2018-03-16 12:11:26 +03:00
Toshiaki Kameyama 64eeb479aa Take nullability annotations into account in QF correcting override
So Java NotNull annotated is converted to `Type`
and Java Nullable annotated to `Type?` accordingly

So #KT-19299 Fixed
2017-08-07 13:52:25 +03:00
Denis Zharkov bc564af2fc Regenerate mockJDK using openJDK 7 2017-06-24 17:26:01 +03:00
Dmitry Petrov 7979663e6c Update testData for changed diagnostic messages 2017-05-26 13:58:46 +03:00
Nikolay Krasko 2841931ffa Do not force new line in body for empty functions and function expressions (KT-10828)
#KT-10828 Fixed
2016-12-14 13:35:31 +03:00
Mikhail Glukhikh 608368997c Add function to supertype immediately removes redundant modifiers #KT-12297 Fixed 2016-09-16 16:26:01 +03:00
Alexey Sedunov 89c39b9762 Misc: Use TODO() consistently in implementation stubs
#KT-13589 Fixed
2016-08-29 16:20:55 +03:00
Ilya Gorbunov 570ac8b821 Add runtime dependency to tests where exception references are used. 2016-08-17 12:40:50 +03:00
Pavel V. Talanov a4c005fefd Update existing test data depending on diagnostic parameter rendering 2016-02-26 14:45:11 +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 d5deb03292 Change Function Signature Fix: Do not render default values in overriding functions
#KT-8520 Fixed
2015-09-11 02:20:47 +03:00
Michael Nedzelsky 92ca057b4a fix tests in org.jetbrains.kotlin.idea.quickfix 2015-09-08 02:05:41 +03:00
Valentin Kipyatkov 0dc92c3ee8 QuickFixMultiFileTestGenerated - shorter test data files names 2015-05-27 16:15:44 +03:00
Dmitry Jemerov 625096466e IDE testdata: s/trait/interface 2015-05-13 16:13:13 +02: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
Valentin Kipyatkov 0a363fc371 Import is placed in some specific order on adding 2015-02-19 11:07:02 +03:00
Valentin Kipyatkov 033b626a08 Fixed test data 2015-02-09 13:02:04 +03:00
Alexander Udalov 0b64f028b6 Rename jet -> kotlin in idea: quickfixes
org.jetbrains.jet.plugin.quickfix -> org.jetbrains.kotlin.idea.quickfix
2015-01-13 01:14:36 +03:00
Valentin Kipyatkov 5ae756addb Quickfix to correct signature of method with 'override' to not include 'override' in signature text 2014-10-06 21:26:55 +04:00
Valentin Kipyatkov 317607db70 Corrected quickfix to correct signature of method with 'override' to:
- not loose annotations and other stuff
  - not include visibility modifiers into the name and into the code generated
2014-10-06 21:26:55 +04:00
Nikolay Krasko 80d6b0800e Make ResolveSessionForBodies.resolveToDescriptor() work for local declarations (EA-56877)
Fix (EA-56877)
2014-05-23 15:36:31 +04:00
Andrey Breslav 9da2cbd5e8 Duplicating diagnostics removed from test data 2014-04-18 21:28:23 +04:00
Alexander Udalov f7b6457139 Replace "jet" package name with "kotlin" in testData 2014-03-02 19:55:26 +04:00
Valentin Kipyatkov d01ff28212 Quickfix and intention tests refactoring: refer to intention action by class when checking that it's not available (instead of listing all available actions) 2014-01-23 18:46:27 +04:00
Natalia Ukhorskaya 3287744415 Add common JetElement for imports: JetImportList 2013-10-25 13:55:40 +04:00
Alexey Sedunov 28b3db53fe Fix irregular PSI structure for classes without body 2013-10-15 18:43:59 +04:00
Andrey Breslav 16d656c7af Fixing tests after adding a new intention 2013-08-27 15:58:22 +04:00
Michał Sapalski cacb4b26e4 Support for generic classes in quickfix for NOTHING_TO_OVERRIDE 2013-05-28 12:02:55 +04:00
Michał Sapalski d4fc814d76 Quickfix for NOTHING_TO_OVERRIDE: add function to one of supertypes. 2013-05-28 12:02:54 +04:00
Michał Sapalski 68cd832831 Search in all superclasses in quickfix for NOTHING_TO_OVERRIDE. 2013-05-15 10:33:19 +04:00
Michał Sapalski 7deec28b9c Adjusted tests to the new DescriptorRenderer behaviour 2013-04-29 15:44:07 +04:00
Michał Sapalski 01c4826b06 Quickfix for NOTHING_TO_OVERRIDE 2013-04-29 15:44:06 +04:00
Andrey Breslav c422e4194d Reverting pull request 240 2013-04-12 15:25:52 +04:00
Michał Sapalski 97796f9b0f Refactoring: use DescriptionRenderer to generate overriding functions / properties. 2013-04-12 12:49:00 +04:00
Michał Sapalski 5b1f93b42e Quickfix for NOTHING_TO_OVERRIDE 2013-04-12 12:47:21 +04:00