lsp icon indicating copy to clipboard operation
lsp copied to clipboard

[Feature Request] Diagnostic and symbol picker in popup window.

Open debajyoti1990 opened this issue 1 year ago • 4 comments

As this is Vim9 only plugin, it might be nice to have an option for picking diagnostic message and symbol from a popup window. By popup window I mean picker in left side and preview in right side.

debajyoti1990 avatar Jul 01 '23 18:07 debajyoti1990

The :LspDocumentSymbol command shows the list of symbols in the current file in a popup window. When you select a symbol, the corresponding range for the symbol is highlighted in the current file. You can browse through the symbols in the popup window and jump to a symbol or cancel the popup window.

Currently, there is no support for displaying the diagnostics messages in a popup window.

The :LspPeekReferences, :LspPeekDefinition, etc. commands use a picker and a preview popup window.

yegappan avatar Jul 04 '23 14:07 yegappan

i would suggest do not make that part code of diag became more and more complex, if you like advanced ui of diag, please try ALE, now it is supporting to integ with it, though i do not use it.

Shane-XB-Qian avatar Jul 07 '23 04:07 Shane-XB-Qian

Thanks for the suggestions, folks. I think the ticket needs to be closed as there's nothing to be added further.

debajyoti1990 avatar Jul 07 '23 06:07 debajyoti1990

IMO there would be some further refine still definitely, but perhaps no would be this one, or if you have mature impl of this, welcome or pleasure you can share it as usual of course.

Shane-XB-Qian avatar Jul 07 '23 06:07 Shane-XB-Qian