lsp-ui icon indicating copy to clipboard operation
lsp-ui copied to clipboard

Isolate the UI code in a separate library

Open amol-mandhane opened this issue 7 years ago • 7 comments

LSP UI has UI components which can be reused by non-LSP packages in many different contexts.

For example, Sideline: Can be used as ElDoc/Flycheck front-end. Peek: XRef front-end.

Since lsp-mode already integrates with above packages, it could be great if the UI part of this package can be released separately.

amol-mandhane avatar Jan 14 '18 04:01 amol-mandhane

Yes I have thought about that. But for now I prefer to work on a single repo, once the components get mature maybe... A library to manipulate child frames would be nice too

sebastiencs avatar Jan 14 '18 15:01 sebastiencs

yeah, i thought about this as well, id like to use especially the docs child frame and xref-peek - i think waiting a bit makes sense

topisani avatar Jan 14 '18 16:01 topisani

+1 on lsp-ui-peek especially. I'd be happy to use it with other backends. And in GNU ELPA especially.

Sideline for ElDoc sounds intriguing as well, although it might be difficult to reconcile with the existing API.

dgutov avatar May 24 '19 12:05 dgutov

Hopefully somebody finds the motivation to do this.

brotzeit avatar Mar 03 '20 20:03 brotzeit

@dgutov Sorry for closing this issue. I think I was a little too motivated while trying to clean the issue tracker. Please add a comment in the future if you think an issue should be kept open. I'm not even sure if I closed the issue intentionally :D

brotzeit avatar May 20 '20 09:05 brotzeit

@brotzeit Hey, no problem.

Thing is, for this to happen, there needs to be both a concerted agreement between the users who wrong the code, and someone motivated to do the extraction. I don't have spare time for this personally, so commenting "please reopen" didn't seem appropriate. It's not something I can demand anyway.

dgutov avatar May 20 '20 14:05 dgutov

Even if you don't have the time to do it yourself, it's absolutely legitimate to say the issue should be left open for others who might have the time to do it.

brotzeit avatar May 20 '20 17:05 brotzeit