cashapp / burst

Parameterized unit tests for Kotlin Multiplatform
https://cashapp.github.io/burst/docs/2.x/burst/app.cash.burst/index.html
Apache License 2.0
143 stars 2 forks source link

Investigate FIR for better IDE integration #23

Open swankjesse opened 1 month ago

swankjesse commented 1 month ago

I asked my Kotlin Multiplatform testing expert friend @bnorm about IDE integration and he suggested this:

I wonder if an FIR plugin might help with the back navigation from the run dashboard? Ultimately the IDE is looking for a PSI element with the right class/method name and if you generate it in FIR you might be able to back navigate to the source of the generation.

He suggested some sample projects to look at:

https://github.com/JetBrains/kotlin/tree/master/plugins/plugin-sandbox https://github.com/demiurg906/kotlin-compiler-plugin-template https://github.com/bnorm/piecemeal

JakeWharton commented 1 month ago

FIR will also mean the ability to report problems with the signatures in the IDE, such as the use of unsupported types.