Has there been any more work done along the lines ...
# detekt
s
Has there been any more work done along the lines of type resolution? Is there a branch with it? (Attempting to do something similar to the PR , but I'm having issues https://github.com/arturbosch/detekt/pull/485/files#diff-b891a4f3964171c1075597dbac3d82d7R22)
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
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
Unfortunately not yet 😕
s
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
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.