Create From Usage: Remove "from usage" words from action text
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Create local variable 'foo'" "false"
|
||||
// ACTION: Create parameter 'foo'
|
||||
// ACTION: Create property 'foo' from usage
|
||||
// ACTION: Create property 'foo'
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
class A {
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// "Create local variable 'foo'" "false"
|
||||
// ACTION: Create property 'foo' from usage
|
||||
// ACTION: Create property 'foo'
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
val t: Int = <caret>foo
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// "Create local variable 'foo'" "false"
|
||||
// ACTION: Create property 'foo' from usage
|
||||
// ACTION: Create property 'foo'
|
||||
// ACTION: Split property declaration
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Create parameter 'foo'" "false"
|
||||
// ACTION: Create local variable 'foo'
|
||||
// ACTION: Create property 'foo' from usage
|
||||
// ACTION: Create property 'foo'
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
fun test(n: Int) {
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create parameter 'foo'" "false"
|
||||
// ACTION: Convert to expression body
|
||||
// ACTION: Create local variable 'foo'
|
||||
// ACTION: Create property 'foo' from usage
|
||||
// ACTION: Create property 'foo'
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
class A {
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create parameter 'foo'" "false"
|
||||
// ACTION: Convert to expression body
|
||||
// ACTION: Create local variable 'foo'
|
||||
// ACTION: Create property 'foo' from usage
|
||||
// ACTION: Create property 'foo'
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
object A {
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create parameter 'foo'" "false"
|
||||
// ACTION: Convert to expression body
|
||||
// ACTION: Create local variable 'foo'
|
||||
// ACTION: Create property 'foo' from usage
|
||||
// ACTION: Create property 'foo'
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
trait A {
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create parameter 'foo'" "false"
|
||||
// ACTION: Convert to expression body
|
||||
// ACTION: Create local variable 'foo'
|
||||
// ACTION: Create property 'foo' from usage
|
||||
// ACTION: Create property 'foo'
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
val test: Int get() {
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create parameter 'foo'" "false"
|
||||
// ACTION: Convert to expression body
|
||||
// ACTION: Create local variable 'foo'
|
||||
// ACTION: Create property 'foo' from usage
|
||||
// ACTION: Create property 'foo'
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
class A {
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create parameter 'foo'" "false"
|
||||
// ACTION: Convert to expression body
|
||||
// ACTION: Create local variable 'foo'
|
||||
// ACTION: Create property 'foo' from usage
|
||||
// ACTION: Create property 'foo'
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
class A<T> {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Create parameter 'foo'" "false"
|
||||
// ERROR: Unresolved reference: foo
|
||||
// ACTION: Create property 'foo' from usage
|
||||
// ACTION: Create property 'foo'
|
||||
|
||||
class A {
|
||||
val <T> test: T = <caret>foo
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// "Create parameter 'foo'" "false"
|
||||
// ACTION: Create property 'foo' from usage
|
||||
// ACTION: Create property 'foo'
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
class A<T> {
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// "Create parameter 'foo'" "false"
|
||||
// ACTION: Create property 'foo' from usage
|
||||
// ACTION: Create property 'foo'
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
class A {
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// "Create parameter 'foo'" "false"
|
||||
// ACTION: Create property 'foo' from usage
|
||||
// ACTION: Create property 'foo'
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
object A {
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// "Create parameter 'foo'" "false"
|
||||
// ACTION: Create property 'foo' from usage
|
||||
// ACTION: Create property 'foo'
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
val test: Int = <caret>foo
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Create parameter 'foo'" "false"
|
||||
// ACTION: Split property declaration
|
||||
// ACTION: Create property 'foo' from usage
|
||||
// ACTION: Create property 'foo'
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
class A
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: <html>Type mismatch.<table><tr><td>Required:</td><td>kotlin.Int</td></tr><tr><td>Found:</td><td>A<kotlin.Int></td></tr></table></html>
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
|
||||
fun test() {
|
||||
val foo: Int
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
// ERROR: Variable 'foo' must be initialized
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
// ERROR: Variable 'foo' must be initialized
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A<T>(val n: T) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A<T>(val n: T) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A<T>(val n: T) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A<T>(val n: T) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized
|
||||
|
||||
fun test(): Int {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized
|
||||
|
||||
package foo
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A<T>(val n: T) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized
|
||||
|
||||
fun test() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized
|
||||
|
||||
class A<T>(val n: T)
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
object A {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A<T>(val n: T) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A<T>(val n: T) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A<T>(val n: T) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized
|
||||
|
||||
class A<T>(val n: T)
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A<T>(val n: T) {
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// "Create property 'foo' from usage" "false"
|
||||
// ACTION: Create function 'bar' from usage
|
||||
// "Create property 'foo'" "false"
|
||||
// ACTION: Create function 'bar'
|
||||
// ACTION: Replace with infix function call
|
||||
// ERROR: Unresolved reference: bar
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: <html>Type mismatch.<table><tr><td>Required:</td><td>kotlin.Int</td></tr><tr><td>Found:</td><td>A<kotlin.Int></td></tr></table></html>
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "false"
|
||||
// "Create property 'foo'" "false"
|
||||
// ACTION: Convert to expression body
|
||||
// ACTION: Disable 'Convert to Expression Body'
|
||||
// ACTION: Edit intention settings
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
// ERROR: Variable 'foo' must be initialized
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
// ERROR: Variable 'foo' must be initialized
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A<T>(val n: T) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A<T>(val n: T)
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A<T>(val n: T) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A<T>(val n: T) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized
|
||||
|
||||
fun test(): Int {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized
|
||||
|
||||
package foo
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "false"
|
||||
// "Create property 'foo'" "false"
|
||||
// ACTION: Split property declaration
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A<T>(val n: T) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized
|
||||
|
||||
fun test() {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized
|
||||
|
||||
class A<T>(val n: T)
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
object A
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A<T>(val n: T)
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A<T>(val n: T)
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A<T>(val n: T)
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized
|
||||
|
||||
class A<T>(val n: T)
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create property 'foo' from usage" "true"
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A<T>(val n: T)
|
||||
|
||||
Reference in New Issue
Block a user