d-language-server / dls

A Language Server implementation for D
http://dls.dub.pm
106 stars 15 forks source link

Code completion items layout #29

Closed andre2007 closed 5 years ago

andre2007 commented 5 years ago

I am really unsure where to open this issue (DCD, Dls, IntelliJ LSP plugin,...) I assume maybe it fits here.

In the code completion list, the entries which are not selected you can read quite good, as the method name and the method signature have different colors. But the selected item, which is the one you also want to use is quite unreadable. There is some space missing between the method name and the method signature. image

LaurentTreguier commented 5 years ago

The completion identifiers and their documentation are sent in different fields with the LSP, label and documentation respectively: https://github.com/d-language-server/dls/blob/38b302fdc7b308e34bde7e03362460671547a30b/protocol/source/dls/protocol/interfaces/text_document.d#L184-L191 This is how it shows in VSCode: vscode-completion So I think this is an issue with the way Intellij displays it. Whether the problem is with Inellij itself, or with intellij-lsp, I'm not sure however.

andre2007 commented 5 years ago

Thanks a lot I created the lsp issue.