Rename: Support inplace rename on type parameters
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user