Hey, not sure if this is the right channel, if it'...
# intellij
m
Hey, not sure if this is the right channel, if it's not then please point me to the correct one :) I'd like to create a command line program that parses Java and Kotlin files and produces uast/psi which I'd then transform and produce some output. I saw the plugin developer docs but I wasn't able to find the dependencies I'd need to add to my project for uast/psi. Is it even possible? Is uast/psi distributed as a standalone library and available on maven or somewhere?
c
I believe both ktlint and dokka work by using the kotlin compiler as a library to build a PSI tree. You might try poking around those repos to see how exactly they work
m
Thanks, this is a good idea, will take a look at these :)
c
❤️ 1