KT-14241 Add Intention + Inspection to remove empty class body (#968)
This commit is contained in:
committed by
Dmitry Jemerov
parent
4236a4dd07
commit
afe8244183
@@ -0,0 +1 @@
|
||||
org.jetbrains.kotlin.idea.intentions.RemoveEmptyClassBodyIntention
|
||||
@@ -0,0 +1,4 @@
|
||||
class Foo() {<caret>
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
class Foo()
|
||||
@@ -0,0 +1,4 @@
|
||||
data class Foo(val bar: Int) {<caret>
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
data class Foo(val bar: Int)
|
||||
@@ -0,0 +1,4 @@
|
||||
interface Foo {<caret>
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
interface Foo
|
||||
@@ -0,0 +1,6 @@
|
||||
// IS_APPLICABLE: false
|
||||
class Foo() {<caret>
|
||||
|
||||
// comment
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user