Skip to content
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

Popup for LSP status #10972

Open
RoloEdits opened this issue Jun 16, 2024 · 1 comment
Open

Popup for LSP status #10972

RoloEdits opened this issue Jun 16, 2024 · 1 comment
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements

Comments

@RoloEdits
Copy link
Contributor

RoloEdits commented Jun 16, 2024

Having a popup for the status of launched, or of attempted launched, servers would be a quick way to see the current status of the configured LSPs. This could potentially help diagnose issues with servers that were started but crashed, rather than having to look at a task manager of some kind to see of there is a child process running or not.

Can be added to the space mode as <SPACE>l.

Could show two columns, with the name on the left, and some indicator on the right. Perhaps even just symbols. Like a green check for currently running. A red X indicating LSP was launched but the processed closed unexpectedly. And for full coverage, could show LSPs that weren't found, but configured, and thus no effort was attempted to launch. This could be some kind of grey indicator.

For instances where LSPs are running for different languages, could try to further break up the info and indicate the language associated with the LSP. perhaps as a centered header type layout, with the two columns underneath showing the LSPs the language supports. This seems more complicated due to the fact that the same LSP can be configured for multiple languages at the same time, and could be open for those languages at the same time.

@RoloEdits RoloEdits added the C-enhancement Category: Improvements label Jun 16, 2024
@RoloEdits
Copy link
Contributor Author

RoloEdits commented Jun 16, 2024

I know previous facsimiles were proposed, but the introduction of the diff view with <SPAVE>g, integrating something that would have otherwise needed one to go back to the shell and use whatever VC command to see, I thought I would propose a simple, more concrete idea, scoped around a specific problem of using, and troubleshooting, LSPs in an editor. Something that also needs external action currently, to see if the process if still running.

@kirawi kirawi added the A-helix-term Area: Helix term improvements label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

2 participants