TLDR: Sample code for invoking PsiViewer in external tool (not as IntelliJ plugin) ?
I’m referring to the PsiViewer at https://www.jetbrains.com/help/idea/psi-viewer.html
I am not writing a plugin. I am writing a separate external tool. I would like to somehow use the PsiViewer (while creating as little “IntelliJ IDEA Scaffolding” as possible).
This is extending Kotlin Parser in Kotlin? as I am now trying to find a better way to visualize PsiElement / AST output.
Does anyone have sample code for invoking the PsiViewer in an external tool?