Improve AddInitKeyword quickfix

- Extract quickfix method
- Delete redundant semicolon
- Do not replace initializer PSI element
This commit is contained in:
Denis Zharkov
2015-03-18 11:56:34 +03:00
parent 13f933693f
commit df23ff3473
11 changed files with 83 additions and 16 deletions
@@ -0,0 +1,8 @@
// "Add 'init' keyword" "true"
fun foo() = 1
class A {
val prop = foo()
;<caret>{
}
}