Fix broken NavBar for 201
^KT-38466 Fixed ^KT-38260 Fixed
This commit is contained in:
committed by
igoriakovlev
parent
246c68b0a9
commit
2ef46b586d
+2
-2
@@ -29,8 +29,8 @@ class KotlinStructureViewModel(ktFile: KtFile, editor: Editor?) :
|
||||
override fun isSuitable(element: PsiElement?): Boolean = element is KtDeclaration &&
|
||||
element !is KtPropertyAccessor &&
|
||||
element !is KtFunctionLiteral &&
|
||||
!(element is KtProperty && element.containingClassOrObject !is KtNamedDeclaration) &&
|
||||
!(element is KtFunction && element.containingClassOrObject !is KtNamedDeclaration)
|
||||
!(element is KtProperty && element.parent !is KtFile && element.containingClassOrObject !is KtNamedDeclaration) &&
|
||||
!(element is KtFunction && element.parent !is KtFile && element.containingClassOrObject !is KtNamedDeclaration)
|
||||
|
||||
override fun getNodeProviders() = NODE_PROVIDERS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user