Add language server version prompt#129
Merged
yasmewad merged 1 commit intoMay 18, 2026
Merged
Conversation
a2aac7a to
7fec4ad
Compare
PR smithy-lang#127 switched the default `smithy.server.version` from a pinned version to `latest.release`. Users upgrading have no way to discover this change or opt out without knowing the setting name. On first activation, a one-time notification offers "Use latest" or "Pin a version." Choosing to pin opens a QuickPick populated from Maven Central's `maven-metadata.xml`. A persistent status bar item shows the active version (`Smithy LS (latest)` or `Smithy LS v0.8.0`) and lets users switch on click. Status bar text follows VS Code UX guidelines for short labels; full "Smithy Language Server" naming appears in tooltips, notifications, and the QuickPick title. A `smithy.toggleVersionPolicy` command is registered in `package.json` as "Smithy: Change Language Server Version" for command palette access.
7fec4ad to
5cc8c5a
Compare
JordonPhillips
approved these changes
May 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PR #127 switched the default
smithy.server.versionfrom a pinned version tolatest.releaseto receive latest LSP release versions to customers without updating VSCode extension. This follow-up adds user-facing controls so users can discover the change and opt out if needed.Changes
Smithy LS (latest)orSmithy LS v0.8.0, click to switchUX decisions
globalState)latest.releasedefaultTesting
npx tsc --noEmitpasses with zero errors.vsixsuccessfullyScreenshots:
When you open a workspace with Smithy extension with changes from PR #127, you now get a notification:

New indicator shows the version of Smithy Language Server being used:

When you click on that indicator in the bottom you get a list of available versions like this:

If you selected an older version you get notification to reload and also the indicator shows pinned icon:
