-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Traits not correctly highlighted #8
Comments
What are you using to build your smithy models? The CLI or the Gradle plugin?
Traits are shapes, the plugin just can't find What you're observing there is from dependencies not being configured properly in IntelliJ. If you're using the CLI, dependency jars (and the CLI itself or the smithy-model package for prelude shapes) which contain smithy shapes that you depend on have to be manually added as dependencies to your IntelliJ project for the time being until the build system integration is added. If you're using Gradle, there's nothing special required. The built-in Gradle support in IntelliJ handles smithy dependencies out of the box. |
Smithy CLI support is being tracked #9. Initial goal is to unblock dependency resolution for the time being, since you can always manually run the CLI from a Terminal tool window within IntelliJ. And follow-up tasks would add integrated support for build actions (very similar to the UX you get with Gradle in IntelliJ today). The workaround for the time being would be to keep using the Smithy Gradle plugin, since you get the best IDE experience. And it's not much to haul around for the time being, can just delete the |
Hey Diego, let me know if there's anything else I can help with. Going to resolve the issue for now. |
Thank you, i'll double check the build system! |
Observed behaviour:
The text was updated successfully, but these errors were encountered: