Is it possible to download the IDE plugin for the ...
# compiler
j
Is it possible to download the IDE plugin for the version
build-1.7.0-dev-1671
without having to build it myself?
d
We publish dev IDE plugins only for bootstrap builds (versions of compiler which are used to compile Kotlin project) They are published here: https://plugins.jetbrains.com/plugin/6954-kotlin/versions/bootstrap For more recent builds I can recommend wait till next bootstrap which happens once per one-two weeks (closest one is planned to this friday)
BTW plugin for
1.7.0-dev-1671
is not built yet
If you can't wait for bootstrap for some reason you can ask someone from team (e.g. me) send some specific plugin directly
j
Perfect! Thank you! We are trying to create a compiler plugin which is going to use FIR, we saw that the entrypoint and the registrar is in master but we are not sure if we can use 1.6.20 or we need 1.7.0+. I think we need 1.7.0, but maybe we don't need the latest one in github tags and the latest published version can be enough
d
Latest bootstrap will be enough But why do you need plugin for that if you can just depend on compiler?
Also I want to warn you that FIR plugins won't work in regular IDE plugin, because they require FIR IDE plugin, which is not ready yet So you can test your plugin only in CLI and will getting errors inside IDE
j
so we should depend on 1.7.0 and keep using 1.6.20 M1 for the IDE (we need context receivers support)
d
Also I deeply ask to share feedback about FIR API with me, because we want to improve existing API (which is actually prototype for PoC) and for that we need collect as many opinions from users of this API as possible
j
yeah, we will
🙏 1
1
d
so we should depend on 1.7.0 and keep using 1.6.20 M1 for the IDE (we need context receivers support)
Yep, you can write your code using
1.6.20-M1
compiler and IDE plugin, but have
1.7.0-dev-xxx
in dependencies of your project Just ensure that you use
1.7.0-dev-xxx
in your test projects which will use FIR compiler and your plugin to it Also note that context receivers are not supported yet in FIR, so you can not use them in test projects
Feel free to ask me any questions about FIR/plugins/tests here or in DM
j
Perfect, thank you :)
m
@dmitriy.novozhilov Are there any additional dependencies the internal test framework requires, that I have to include on my own? ( Like some IntelliJ dependencies )
d
Check here