Provides support for the Smithy interface definition language.
- Syntax highlighting of
.smithyfiles - Snippets
- Completions, jump to definition, and more, powered by smithy-language-server
You can configure the extension using VSCode's settings. The following settings are supported:
| Setting | Description |
|---|---|
| smithy.maxNumberOfProblems | Controls the maximum number of problems produced by the server. Default: 100 |
| smithy.trace.server | Traces the communication between VS Code and smithy-language-server. Options: "off", "messages", "verbose"Default: "verbose" |
| smithy.server.executable | Executable to run smithy-language-server, instead of the one managed by the extension. Can be the executable name if it is on your PATH, or an absolute path to the executable. If null, the extension will download it.Default: null |
| smithy.server.version | Version of smithy-language-server to use. Ignored if smithy.server.executable is provided. |
| smithy.server.diagnostics.minimumSeverity | Minimum severity of Smithy validation events to display in the editor. Options: "NOTE", "WARNING", "DANGER", "ERROR"Default: "WARNING" |
You can install the extension from the VS Code Extension Marketplace, or from source.
To install from source, first clone the repo:
git clone https://github.com/smithy-lang/smithy-vscode.git
cd smithy-vscodeInstall the extension's dependencies:
npm installInstall the extension:
npm run install-pluginThis will overwrite any existing installation of the extension with the locally built one.
This project is licensed under the Apache-2.0 License.