Skip to content

Conversation

@nkomonen-amazon
Copy link
Contributor

@nkomonen-amazon nkomonen-amazon commented Apr 28, 2025

PROBLEM:

When installing the LSP for Q we get a message that says "Installing 'Amazon Q' language server", but they want it to be slightly different ("Updating Amazon Q plugin"). The issue is the base class for the lsp installer class has a generic message that is not easy to customize.

SOLUTION:

Allow an override downloading message to be defined in each specific LspInstaller implementation. This message is then routed in to the LspResolver (the thing that downloads the Lsp), and the message is displayed here. This override message will show when the download is happening. Everyone is happy.


  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.
  • License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

They want it to be slightly different, but the base lsp installer class
has a generic message.

SOLUTION:

Allow an override message to be given from a specific LspResolver implementation.
This override message will show when the download is happening. Everyone is happy.

Signed-off-by: nkomonen-amazon <[email protected]>
@nkomonen-amazon nkomonen-amazon requested a review from a team as a code owner April 28, 2025 18:49
@github-actions
Copy link

  • This pull request modifies code in src/* but no tests were added/updated.
    • Confirm whether tests should be added or ensure the PR description explains why tests are not required.

Copy link
Contributor

@jpinkney-aws jpinkney-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, we can probably get rid of this when we deprecate the workspace context language server

@nkomonen-amazon nkomonen-amazon merged commit c6afcb6 into aws:feature/hybridChat Apr 28, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants