Add when branches (minor): 'with import' -> 'with * import'

Change name of quick-fix to more descriptive one
This commit is contained in:
Mikhail Glukhikh
2018-08-15 17:45:13 +03:00
parent b031e34f8d
commit ef094e78e3
11 changed files with 11 additions and 11 deletions
@@ -40,7 +40,7 @@ class AddWhenRemainingBranchesFix(
override fun getFamilyName() = text
override fun getText() = "Add remaining branches" + if (withImport) " with import" else ""
override fun getText() = "Add remaining branches" + if (withImport) " with * import" else ""
override fun isAvailable(project: Project, editor: Editor?, file: KtFile): Boolean {
return isAvailable(element)
@@ -1,4 +1,4 @@
// "Add remaining branches with import" "true"
// "Add remaining branches with * import" "true"
package u
@@ -1,4 +1,4 @@
// "Add remaining branches with import" "true"
// "Add remaining branches with * import" "true"
package u
@@ -1,4 +1,4 @@
// "Add remaining branches with import" "true"
// "Add remaining branches with * import" "true"
// WITH_RUNTIME
enum class Foo {
A, B, C
@@ -1,6 +1,6 @@
import Foo.*
// "Add remaining branches with import" "true"
// "Add remaining branches with * import" "true"
// WITH_RUNTIME
enum class Foo {
A, B, C
@@ -1,4 +1,4 @@
// "Add remaining branches with import" "true"
// "Add remaining branches with * import" "true"
// WITH_RUNTIME
import Foo.*
@@ -1,4 +1,4 @@
// "Add remaining branches with import" "true"
// "Add remaining branches with * import" "true"
// WITH_RUNTIME
import Foo.*
@@ -1,4 +1,4 @@
// "Add remaining branches with import" "true"
// "Add remaining branches with * import" "true"
// WITH_RUNTIME
import Foo.*
@@ -1,4 +1,4 @@
// "Add remaining branches with import" "true"
// "Add remaining branches with * import" "true"
// WITH_RUNTIME
import Foo.*
@@ -1,4 +1,4 @@
// "Add remaining branches with import" "true"
// "Add remaining branches with * import" "true"
// WITH_RUNTIME
import Foo.*
@@ -1,4 +1,4 @@
// "Add remaining branches with import" "true"
// "Add remaining branches with * import" "true"
// WITH_RUNTIME
import Baz.*
import Foo.*