Currently Scabbard writes the visualization files to StandardLocation.CLASS_OUTPUT. We could consider generating the files to StandardLocation.SOURCE_OUTPUT instead for the following reasons.
StandardLocation.SOURCE_OUTPUT is known to IntelliJ as source root so by default it will be indexed as opposed to CLASS_OUTPUT which may not be indexed, at least for Kotlin the generated file path is /tmp/kapt3/ which is a bit non conventional.
Consistency with other source generating processors and provides ability to query the directory from IntelliJ APIS such as ProjectRootManager.
Context
Currently Scabbard writes the visualization files to
StandardLocation.CLASS_OUTPUT
. We could consider generating the files toStandardLocation.SOURCE_OUTPUT
instead for the following reasons./tmp/kapt3/
which is a bit non conventional.ProjectRootManager
.