Closed cayman-amzn closed 1 month ago
I have this same issue. Very annoying if you have a many-file Smithy definition.
This is fixed in https://github.com/smithy-lang/smithy-vscode/releases/tag/0.6.0, assuming you have a smithy-build.json
or .smithy-project.json
that tells the extension/language server which smithy files are a part of your project.
Not sure if this is an issue with the language server or the vscode extension so starting here.
Issue
When I start VSCode in my Smithy 2.0 package the LSP reports that all my custom shape are unresolved. Building the model works fine and there are no exceptions/warnings.
Opening the file that contains the shape definition fixes the issue, but reoccurs every time the editor is restarted.
Example