Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

[Feature Request] Temporarily disable LSP #154

Open
caugner opened this issue Oct 22, 2020 · 0 comments
Open

[Feature Request] Temporarily disable LSP #154

caugner opened this issue Oct 22, 2020 · 0 comments

Comments

@caugner
Copy link

caugner commented Oct 22, 2020

Background

I'm using vimeo/psalm's LSP in a large PHP project.

Problem

Unfortunately the LSP significantly slows down the editing, causing a delay (of up to a few seconds) after each typed character. This makes the LSP unusable while editing/programming, so I have to disable the plugin and restart the IDE in order to edit.

Solution

It would be great if the LSP server could be disabled temporarily (without disabling the plugin altogether):

  1. Add a menu item to the status icon to "Pause/Resume LSP".
  2. Add a checkbox in the settings to disable a specific LSP without having to remove it.

Alternatively, it would help to debounce the propagation of changes to the LSP server (until after 1000ms since the last change), so that I can type and edit without the LSP server continuously re-analyzing (and blocking the UI) after each typed character.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant