Rename: Support inplace rename on type parameters

This commit is contained in:
Alexey Sedunov
2016-08-30 21:06:03 +03:00
parent 34c268b08b
commit 4e2c4d941d
2 changed files with 12 additions and 0 deletions
@@ -51,6 +51,7 @@ class KotlinRefactoringSupportProvider : RefactoringSupportProvider() {
override fun isInplaceRenameAvailable(element: PsiElement, context: PsiElement?): Boolean {
when (element) {
is KtTypeParameter -> return true
is KtProperty -> {
if (element.isLocal) return true
}