Hello! Will a `FirDeclarationChecker` be run in th...
# compiler
k
Hello! Will a
FirDeclarationChecker
be run in the IDE automatically? The only way I can get it running in IDE is to disable
kotlin.k2.only.bundled.compiler.plugins.enabled
, but I thought that flag was for displaying FIR structure in an inlay
y
That flag is what lets you load 3rd party FIR plugins in the IDE. Eventually, it shouldn't be necessary to change it, but for now, it's the only way
k
got it, thanks!
r
Additional to enable the unsafe option (can freeze the IDE without notification) You can explore using KEFS plugin to load compatible compiler plugins, this is the recommended way by amper https://amper.org/latest/user-guide/advanced/kotlin-compiler-plugins/#limited-ide-support https://github.com/Mr3zee/Kotlin-External-FIR-Support
k
Nice! I'll definitely try this out 👍 I almost gave up on the IDE support because of incompatible binaries of embedded compiler version, will see if this will come to rescue! Thanks
I created a discussion to support private artifactory here https://github.com/Mr3zee/Kotlin-External-FIR-Support/discussions/102