Skip to content

feat: /lsps commands#21344

Open
poelzi wants to merge 3 commits intoanomalyco:devfrom
poelzi:lsps
Open

feat: /lsps commands#21344
poelzi wants to merge 3 commits intoanomalyco:devfrom
poelzi:lsps

Conversation

@poelzi
Copy link
Copy Markdown

@poelzi poelzi commented Apr 7, 2026

Issue for this PR

Closes #5899

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds /lsps command which allows you to kill running LSPs. I have to problem that longer sessions spawn many lsps from worktrees for examples that wast system resources and never gets closed.
/lsps opens dialog to kill specific or all lsps. They will get respawned automatically.
/lsps killall kills without dialog.

How did you verify your code works?

In usage for 2 weeks now

Screenshots / recordings

image

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

@github-actions github-actions bot added needs:title needs:compliance This means the issue will auto-close after 2 hours. labels Apr 7, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 7, 2026

Hey! Your PR title Lsps commands doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@poelzi poelzi changed the title Lsps commands feat: /lsps commands Apr 7, 2026
@github-actions github-actions bot removed needs:title needs:compliance This means the issue will auto-close after 2 hours. labels Apr 7, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 7, 2026

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@poelzi
Copy link
Copy Markdown
Author

poelzi commented Apr 7, 2026

maybe remove the kill name and only killall or the dialog ? - I usually kill all

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.

Restart LSP when it's stale

1 participant