Remove comments from function/property implementation template
#KT-18539 Fixed
This commit is contained in:
+1
-1
@@ -3,6 +3,6 @@
|
||||
|
||||
actual class My {
|
||||
actual fun foo(param: String): Int {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -7,6 +7,6 @@ actual object O {
|
||||
}
|
||||
|
||||
actual fun <T : Any> hello(): MutableMap<String, T> {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
}
|
||||
Vendored
+1
-1
@@ -4,6 +4,6 @@
|
||||
actual class My {
|
||||
fun foo(param: String) = 42
|
||||
actual fun foo(param: Int): Int {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
}
|
||||
|
||||
idea/testData/multiModuleQuickFix/addMissingActualMembers/classPropertyInConstructor/jvm/My.kt.after
Vendored
+1
-1
@@ -3,5 +3,5 @@
|
||||
|
||||
actual class <caret>My(actual val name: String) {
|
||||
actual val age: String
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
get() = TODO("Not yet implemented")
|
||||
}
|
||||
Vendored
+2
-2
@@ -6,7 +6,7 @@ actual class <caret>My {
|
||||
|
||||
actual val correct = true
|
||||
actual val x: String
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
get() = TODO("Not yet implemented")
|
||||
actual val pi: Double
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
get() = TODO("Not yet implemented")
|
||||
}
|
||||
|
||||
Vendored
+3
-3
@@ -4,11 +4,11 @@
|
||||
// DISABLE-ERRORS
|
||||
actual class <caret>F<T> {
|
||||
actual val a: List<T>
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
get() = TODO("Not yet implemented")
|
||||
actual val b: T
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
get() = TODO("Not yet implemented")
|
||||
|
||||
actual fun <F> c(t: T): F {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
}
|
||||
Vendored
+1
-1
@@ -4,5 +4,5 @@
|
||||
// DISABLE-ERRORS
|
||||
actual class <caret>F {
|
||||
actual val b: Int
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
get() = TODO("Not yet implemented")
|
||||
}
|
||||
+1
-1
@@ -7,6 +7,6 @@ actual class WithSecondaryConstructor {
|
||||
val z: Double = 3.14
|
||||
|
||||
actual constructor(x: Int, s: String) {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,12 +1,12 @@
|
||||
// Abstract: to be implemented
|
||||
actual abstract class <caret>Abstract {
|
||||
actual fun foo(param: String): Int {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
|
||||
actual abstract fun String.bar(y: Double): Boolean
|
||||
actual val isGood: Boolean
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
get() = TODO("Not yet implemented")
|
||||
actual abstract var status: Int
|
||||
|
||||
}
|
||||
@@ -1,24 +1,24 @@
|
||||
// My: to be implemented
|
||||
actual class My {
|
||||
actual fun foo(param: String): Int {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
|
||||
actual fun String.bar(y: Double): Boolean {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
|
||||
actual fun baz() {
|
||||
}
|
||||
|
||||
actual constructor(flag: Boolean) {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
|
||||
actual val isGood: Boolean
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
get() = TODO("Not yet implemented")
|
||||
actual var status: Int
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
get() = TODO("Not yet implemented")
|
||||
set(value) {}
|
||||
|
||||
}
|
||||
+1
-1
@@ -3,6 +3,6 @@ import kotlin.random.Random
|
||||
// MyGenerator: to be implemented
|
||||
actual class MyGenerator {
|
||||
actual fun generate(): Random {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
}
|
||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// Constructors: to be implemented
|
||||
actual class Constructors actual constructor(s: String) {
|
||||
actual constructor(i: Int) : this() {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -3,5 +3,5 @@ import kotlin.random.Random
|
||||
// MyGenerator: to be implemented
|
||||
actual class MyGenerator actual constructor(r: Random) {
|
||||
actual val i: Int
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
get() = TODO("Not yet implemented")
|
||||
}
|
||||
@@ -3,6 +3,6 @@ actual enum class MyEnum {
|
||||
FIRST, SECOND, LAST;
|
||||
|
||||
actual val num: Int
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
get() = TODO("Not yet implemented")
|
||||
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
// foo: to be implemented
|
||||
actual fun foo(arg: Int): String {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
+1
-1
@@ -2,5 +2,5 @@
|
||||
|
||||
actual fun bar() {}
|
||||
actual fun foo(arg: Int): String {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// WithNested: to be implemented
|
||||
actual class WithNested {
|
||||
actual fun foo(): Int {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
|
||||
actual class Nested {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Object: to be implemented
|
||||
actual object Object {
|
||||
actual fun foo(): String {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
// x: to be implemented
|
||||
actual var x: Int
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
get() = TODO("Not yet implemented")
|
||||
set(value) {}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// foo: to be implemented
|
||||
actual fun foo(arg: Int): String {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
+1
-1
@@ -3,6 +3,6 @@
|
||||
|
||||
actual class C : I {
|
||||
actual override fun f() {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
}
|
||||
idea/testData/multiModuleQuickFix/other/implementMembersInActualClassNoExpectMember/jvm/jvm.kt.after
Vendored
+1
-1
@@ -7,6 +7,6 @@ actual interface ExpInterface {
|
||||
|
||||
actual class ExpImpl : ExpInterface {
|
||||
override fun first() {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
}
|
||||
idea/testData/multiModuleQuickFix/other/implementMembersInImplClassNonImplInheritor/jvm/jvm.kt.after
Vendored
+1
-1
@@ -7,6 +7,6 @@ abstract actual class Bar {
|
||||
|
||||
class X : Bar() {
|
||||
override fun foo() {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("Not yet implemented")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user