opencode icon indicating copy to clipboard operation
opencode copied to clipboard

[FEATURE]: Add keyboard shortcut to toggle LSP usage

Open matdev83 opened this issue 2 weeks ago • 2 comments

Feature hasn't been suggested before.

  • [x] I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

It often happens that when LSP server is on and agent just started some breaking file edits, it gets distracted/overwhelmed by the number of issues reported by the LSP diag message.

Sometimes it can recover, sometimes not, because of the attention drift.

Please consider adding of the keyboard shortcut to dynamically toggle LSP server usage on/off during ongoing sessions.

This should improve user experience by allowing the users to disable LSP if they observe LLM misbehavior/attention drift.

matdev83 avatar Jan 02 '26 21:01 matdev83

For keybind-related issues, please also check our pinned keybinds documentation: #4997

github-actions[bot] avatar Jan 02 '26 21:01 github-actions[bot]

@matdev83 what if it was as easy as the /mcp thing we have?

Were you can turn them off in the same way?

rekram1-node avatar Jan 02 '26 21:01 rekram1-node

btw I'm working on a refresh to my implementation to make it closer to the MCP dialog in functionality & work w/ config.

itsrainingmani avatar Jan 14 '26 15:01 itsrainingmani