In case there was a subtle change on the IntelliJ side, I had to change the KTFile parsing to use the same project instead of the
createKotlinCoreEnvironment
used in ProjectExtension.kt
Scott Dillender
03/05/2019, 10:48 PM
It's likely user error on my side, but wanted to give any thing that might be helpful for you guys. There were some CLIBindingTrace changes in the newer kotlin versions.
a
Artur Bosch
03/06/2019, 7:39 AM
Unfortunately not yet 😕
s
schalkms
03/06/2019, 11:27 AM
Unfortunately time was spend for other features.
We might want to ping 3flex in the PR, since he is not in this slack team. However, I don't think that he spent time on this feature.
The detekt team would be really glad if someone has ideas on how to resolve types.
s
Scott Dillender
03/08/2019, 5:50 PM
I was playing around with it for a fairly massive refactoring we're doing. I would assume the time for building the TopDownAnalyzer is somewhat prohibitive. It could probably be made to be responsive in the plugin, assuming you could hook into what the IDE is already doing. I'll add my timings etc to the PR when I get to applying it to a real project.