zio / zio-intellij

A companion IntelliJ IDEA plugin for the ZIO library ecosystem.
Apache License 2.0
212 stars 40 forks source link

456 suggest ZIO combinators when using ZIO2 #458

Closed myazinn closed 10 months ago

myazinn commented 10 months ago

Closes https://github.com/zio/zio-intellij/issues/456. Apparently, we've already got most of the inspections. They just weren't working because in ZIO2 they are placed within ZIOCompanionVersionSpecific trait and plugin inspections couldn't recognize them.

hmemcpy commented 10 months ago

This is great, thank you! Could you also take a look at why some of the fromOption etc tests are failing? Feel free to merge :)

myazinn commented 10 months ago

@hmemcpy done :) Though now I wonder why it worked before

hmemcpy commented 10 months ago

Haha amazing. Maybe they silently "fixed" something between the scala plugin versions. Anyway, thanks a lot 🙏