Andrey Cherkasov
40c0bc830e
[kotlin] Port ImplementAbstractMemberAsConstructorParameterIntention and ImplementAbstractMemberIntention for K2
...
^KTIJ-22962 Fixed
^KTIJ-30791 Fixed
GitOrigin-RevId: 1f64be410a90aea85db18a2b609ad4c9048796cf
2024-10-11 08:13:18 +00:00
Bart van Helvert
d857a06b2d
[kotlin] Port ExtractDeclarationFromCurrentFileIntention to K2
...
Also adds support for testing K2 multi file intentions. #KTIJ-22984 Fixed
GitOrigin-RevId: 72d5acee00c31c059184dcd68bc68fbd041eef49
2024-07-10 23:56:51 +00:00
Tagir Valeev
5bd02b55c3
[java-intentions] AddVariableInitializerFix: suggest more suitable initial values instead of null for some types
...
Fixes IDEA-344453 Intellij should not try to initialize an Optional var with null
GitOrigin-RevId: 8097988bf1335a282138e8d09e350c3a5f65204d
2024-02-02 19:17:55 +00:00
Yan Zhulanow
a36d8de300
[kotlin] Update test data for 'MultiFileIntentionTestGenerated'
...
GitOrigin-RevId: 4167701d36361893ce831fb5ec7d18bf5f7358a9
2022-04-13 08:39:21 +00:00
Stanislav Erokhin
38bb7e8c3b
[kotlin:testdata] MultiFileIntentionTestGenerated.testImplementAbstractMember_implementVarInJava_ImplementAllInJava
...
Changes here could be related to kotlin/9e7ee2fdeaac37bd247ba31cbcc652e5e300e810
In any case the new behaviour is better
GitOrigin-RevId: 8e8edf3de560d5ac8d0dac2fae5e518ed48452dc
2022-02-08 08:49:31 +00:00
Dmitry Gridin
a637296ac9
SpecifyTypeExplicitlyIntention: remove annotations from result type
...
#KT-36930 Fixed
Original commit: b2be1a53cf9399f745ac7fd24b69531efb8b5b43
GitOrigin-RevId: ee75cc0000cd325dd6e2c376c7ec68e029fce186
2020-06-03 18:55:45 +03:00
Toshiaki Kameyama
151af5ba1a
Move to top level: update import directives on the usage site when the declaration to be moved is not private
...
#KT-37213 Fixed
GitOrigin-RevId: 34fc8299fd018f388e10f8b66acfa9f2b678122c
2020-03-10 12:28:23 +03: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
Igor Yakovlev
0cc79d80fa
Fix testdata for abstract method implementing intention
...
GitOrigin-RevId: 50adcee4b79678d7e564aa7d92bf71345b4c1784
2019-05-13 11:21:12 +03:00
Vadim Brilyantov
4aa9f1b8ad
#KT-19924: Fix usability issue with extract declaration from file intention
...
Fix ExtractDeclaration intention name in tests
Fix ExtractDeclaration intention folder and description to avoid "not found Dir URL" exception
GitOrigin-RevId: f6100650b75474c0b7cc3b2bb825408a72198995
2019-02-26 15:35:15 +03:00
Mikhail Glukhikh
14b63dacb5
Refactoring: "package matching directory" is now an inspection
...
GitOrigin-RevId: 829750b9412d6c056b0554779944eade5a06735e
2017-12-26 18:39:50 +03:00
Alexey Sedunov
1de4149d26
Add @JvmStatic Intention: Support functions/properties in objects
...
Also eliminate unnecessary object instance references on Java call sites
#KT-20095 Fixed
GitOrigin-RevId: 5ef2488513172fc6004a950094141a06281558b4
2017-11-07 19:25:03 +03:00
Alexey Sedunov
38d3c68d90
Move: Fix incorrect FqName when moving declaration to default package
...
#KT-15586 Fixed
GitOrigin-RevId: 4760d5ac48d423976252759e4c7aca611b2b89cd
2017-03-22 13:36:16 +03:00
Alexey Sedunov
60651a7f5a
Implement post-refactoring optimization of unused imports
...
#KT-15822 Fixed
#KT-13755 Fixed
GitOrigin-RevId: fcbef93693b67a9f81088bffb178620744456317
2017-03-22 13:36:11 +03:00
Alexey Sedunov
85390cc612
Misc: Use TODO() consistently in implementation stubs
...
#KT-13589 Fixed
GitOrigin-RevId: dc9a02f079b0cf0613cc12cac72ff821c1dcd697
2016-08-29 16:20:55 +03:00
Dmitry Jemerov
9d1a830ce8
fix muted test MultiFileIntentionTestGenerated.testImplementAbstractMember_implementVarInJava_ImplementAllInJava: apply intention in deterministic order, remove trailing space in expected output file
...
GitOrigin-RevId: e6920f289c9dd7430c84271b3442a9393b9063f2
2016-07-19 12:17:48 +03:00
Alexey Sedunov
d853a11885
Move: Support quoted package names
...
#KT-12411 Fixed
(cherry picked from commit 95239e5)
GitOrigin-RevId: feb477dadb7ec93ec9d9b674f1243cbbf891fb9d
2016-06-28 15:07:30 +03:00
Alexey Sedunov
432c3f6673
Move: Optimize imports after applying "Move declaration to separate file" intention
...
#KT-10174 Fixed
GitOrigin-RevId: 8213636a9326dbe03f3c0b7deaf2b68471c6d829
2016-04-26 13:59:11 +03:00
Alexey Sedunov
93b937eb62
Intentions: Move member of companion object to corresponding class
...
#KT-9697 Fixed
GitOrigin-RevId: 0438c9f1f6fe17307214055f057c523d3e187f48
2016-02-04 12:26:19 +03:00
Alexey Sedunov
5c18edee0b
Intentions: Move class member to companion object
...
#KT-9697 In Progress
GitOrigin-RevId: d043112b3578bef07175d2c74f234abd232feaf0
2016-02-04 12:26:18 +03:00
Alexey Sedunov
34dca854df
Convert Member to Extension Intention: Drop open/final modifiers, add imports when necessary, transform Java-site calls
...
#KT-8876 Fixed
GitOrigin-RevId: a5e9255c68a7f7ec314eecdd8604b94f89712c69
2016-02-01 13:18:44 +03:00
Alexey Sedunov
83b107bbf8
Convert Object Literal to Lambda Intention: Move lambda out of parentheses when possible. Fix after-template
...
#KT-10778 Fixed
GitOrigin-RevId: 22c68c0644f45f0e0b96632ab2d81ad93493c494
2016-02-01 13:18:41 +03:00
Alexey Sedunov
f5c1efbc41
Move: Nested classes support
...
#KT-9027 In Progress
GitOrigin-RevId: e2ad61c5b9a82e47ed7bbca58dbc8106543cdbfd
2016-01-26 18:19:09 +03:00
Alexey Sedunov
53cd860bac
Move/Change Package Directive Intention: Skip callee references to inner class constructors
...
#KT-10554 Fixed
GitOrigin-RevId: 4fa5b145d5810de345360cbd5800b1f5eeb74d31
2016-01-14 13:55:05 +03:00
Alexey Sedunov
6301d4b6f2
Implement Abstract Member Intention: Support primary constructor parameters
...
#KT-8427 Fixed
GitOrigin-RevId: bf3a36a82c5694f0ec22d6d192ee8e123073be8d
2015-12-30 00:56:34 +03:00
Alexey Sedunov
78680f3c29
Intentions: 'Implement abstract member' (Kotlin -> Java)
...
#KT-8467 Fixed
GitOrigin-RevId: 9ffa052719e1045396ffb3da61df2cc48fd1c28e
2015-12-25 18:50:41 +03:00
Pavel V. Talanov
fdb0219a9e
Fix test data for reconcile package with directory test
...
(cherry picked from commit b926e02)
GitOrigin-RevId: c7ff9d1b65646d9e62d852ea9390d25e9ebf71e2
2015-10-19 16:03:17 +03:00
Alexey Sedunov
f95620bb26
Move Declaration to Separate File: Process internal references since imports may be necessary in the new file
...
GitOrigin-RevId: 10d32e30314235f226e022606696d6fb094c829a
2015-10-01 17:35:11 +03:00
Alexey Sedunov
dd6780afa4
Move Declarations: Add intention which moves top-level declaration to the separate file in the same directory and package
...
#KT-4936 Fixed
GitOrigin-RevId: 2076945b91d37f8b384239a3da9317751924a7fc
2015-09-11 02:20:38 +03:00
Alexey Sedunov
a87ddfb03f
Move: Implement inspection which reports mismatch between package directive and containing directory
...
GitOrigin-RevId: dc2c33f00076f61ea6620c72c86410b6f80fdd2e
2015-05-01 18:58:09 +03:00