iancaffey / smithy-intellij-plugin

IntelliJ plugin for the Smithy interface definition language.
MIT License
26 stars 2 forks source link

Unable to find smithy prelude #14

Closed guillaumebadin closed 7 months ago

guillaumebadin commented 7 months ago

I installa smithy on my sbt scala 3 project but I have some errors.

Capture d’écran 2024-02-26 à 15 50 15

iancaffey commented 7 months ago

Could you share your build.sbt?

As long as https://mvnrepository.com/artifact/software.amazon.smithy/smithy-model winds up getting added as a dependency (or the CLI which bundles this) for your project in IntelliJ, the plugin will be able to find the prelude.

amacmillanparks commented 7 months ago

I was having the same issue. Including the following dependencies: "software.amazon.smithy" % "smithy-model" % "1.45.0" "com.disneystreaming.alloy" % "alloy-core" % "0.3.1"

in my built.sbt got it working for me with sbt 1.9.9 and smithy4s 0.18.10

iancaffey commented 7 months ago

@guillaumebadin let me know if there's anything else I could help you with.