-
Notifications
You must be signed in to change notification settings - Fork 16
Smithy Language Server integration #32
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
Conversation
* Bundle extension with webpack * Run tests against webpacked extension
240c792
to
19b1888
Compare
`npm install && npm run install-plugin` | ||
* Open VS Code and add a `smithy-build.json` file to the root of your project, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary? What happens when I look at a detached model file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not in that case. Only if you have dependencies that need loaded. I'll update that.
This PR integrates the extension to begin using the Smithy Language Server.
The contents of
src/extension.ts
andsrc/coursier/
are borrowed from Disney's Smithy VSCode Extension, which uses Coursier to bootstrap the Smithy Language Server and resolve model dependencies specified in a workspace'ssmithy-build.json
.The PR also adds integration tests which check the extension launches the Smithy Language Server successfully, resolves model dependencies, and uses the Smithy Language Server to provide diagnostics. For now, the integration tests do not un on CI since the Smithy Language Server is not yet being published.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.