Closed syzsh closed 1 year ago
Thanks for reporting! It will probably take a few weeks until I can look into this.
In case anyone wants to have a look, this is probably due to:
org.jusecase.jte.intellij.language.KteKotlinContentManipulator
I think I rushed this when adding Kotlin support, and there's even a leftover TODO in org.jusecase.jte.intellij.language.KteKotlinContentManipulator#isRequiredToOptimizeImports
.
@syzsh I didn't sleep well tonight and had a look at it, I think this is fixed by https://github.com/casid/jte-intellij/commit/4fc6cb3c2fdfe3a96f3e45d81f399ce700c3ad21.
@syzsh I just uploaded version 2.0.9
to the Jetbrains Marketplace, which includes this fix. Usually this gets reviewed and approved within two working days.
@casid 非常感谢,辛苦了~
插件版本: 2.0.8
在
.kte
格式模板中, 导入jdk类时, 缺少@前缀导入第三方jar中的类, 还会导致这样的问题: