Is there a way to do incremental parsing/compilati...
# compiler
f
Is there a way to do incremental parsing/compilation of `KtFile`s in a standalone application that only uses the Kotlin compiler APIs and
intellij-core
, i.e. outside of an IDE context? Creating `LightVirtualFile`s and passing them to
PsiManager.findFile
yields an initial parse, but is there a way to e.g. update a certain text range in the virtual file and also trigger an update to the PSI? My attempts to modify the virtual file e.g. by
setBinaryContent
or
setContent
either caused the PSI file to not get updated at all or throw an exception that it's out-of-sync with the virtual file
👀 1