Skip to content

fix(workspace): remove non-flare workspace lsp #7359

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

Merged
merged 2 commits into from
May 23, 2025

Conversation

leigaol
Copy link
Contributor

@leigaol leigaol commented May 22, 2025

Problem

The workspace LSP has been merged into the Amazon Q LSP (Flare). There is no need to keep the non-flare workspace LSP, it will consume both CPU and memory once it starts to index. This will make non agentic chat experience not having @file or @workspace but at this point we want customers to use agentic chat. As such CPU and memory usage problem is of higher priority.

Solution

remove: disable workspace lsp


  • 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.

@leigaol leigaol requested a review from a team as a code owner May 22, 2025 03:56
@leigaol leigaol marked this pull request as draft May 22, 2025 03:56
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.

@nkomonen-amazon nkomonen-amazon marked this pull request as ready for review May 22, 2025 18:44
@nkomonen-amazon nkomonen-amazon changed the title remove: disable workspace lsp fix(workspace): remove non-flare workspace lsp May 23, 2025
@opieter-aws opieter-aws reopened this May 23, 2025
@leigaol leigaol merged commit 1d72423 into aws:master May 23, 2025
28 of 29 checks passed
@@ -37,7 +29,6 @@ export async function activate(context: ExtensionContext) {
void vscode.env.openExternal(vscode.Uri.parse(amazonq.amazonQHelpUrl))
})

void setupLsp()
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there any other code we can delete? Or is all of that re-used by the agentic LSP?

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