Open sschuberth opened 3 months ago
Most likely this plugin won't be updated anymore in favor of built-in psi viewer. The only advantage of this one was the objects introspection, but the built it one can do this now. So probably better try it and put requests into youtrack.
I didn't even know there was a built-in Psi viwer 😅 Where can I find it? I don't see anything related in the "Tools" / "Kotlin" menu...
you need to run the ide in internal mode I believe to make it available.
For writing detekt / ktlint rules I have test code like
However, due to the text inside
"""
just being a string for PsiViewer, I cannot conveniently see it's AST. It would be great if there was a mode to run PsiViewer just on some arbitrary selected text (which would allow me to select the text within"""
), or probably better, if a Kotlin language injection would be respected and the AST for the injected code would be displayed.