You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're trialing this plugin as a viable alternative to the LSP. It works fine with Gradle builds, but I don't see any errors that I'd expect to see from validators.
Is there a plan to support those? Does the plugin even assemble the model at any point?
The text was updated successfully, but these errors were encountered:
The plugin does assemble the model (in a kind of deconstructed & indexed fashion geared towards how IntelliJ wants editor context stored, not using the actual smithy-build ModelAssembler) to support all of the shape resolution required for resolving references in the editor and showing you details about traits/documentation/etc. when you hover references and shape declarations.
But it doesn't perform a full build itself, so wouldn't run any validators.
The long-term goal is to delegate to whatever build system the module is using, parse any validation events emitted from the build, and then surface those as error/warning/note annotations within each file accordingly.
The main reason for not following how the LS approached it (where it ships with its own smithy-build and runs it standalone from your actual build process) was so that it didn't require wiring in any custom classpaths (largely to support all the various ant/gradle/sbt/etc. based build systems without additional setup) and avoids issues with using different versions of the smithy build tooling (since this would require updating during runtime or forcing plugin updates on users, both still having risks of not matching the actual version of the tooling you're using).
But for the time being, you'd have to solely rely on console output and manually navigating back and fixing any issues.
Hi!
We're trialing this plugin as a viable alternative to the LSP. It works fine with Gradle builds, but I don't see any errors that I'd expect to see from validators.
Is there a plan to support those? Does the plugin even assemble the model at any point?
The text was updated successfully, but these errors were encountered: