Closed hugopl closed 3 years ago
Hey @hugopl,
Crystalline seems far better than first time I checked out, before first release, so I'm trying to use it on my editor and probably let it be the default LS for Crystal.
Cool, thanks for trying it out again 👍!
However I found a minor issue that in my understanding seems like a wrong implementation of the LSP spec:
That's unfortunately right, and actually the client capabilities were not handled at all as I wanted to focus on having a working server with a vscode client first.
I added the hierarchicalDocumentSymbolSupport
support in the following PR: https://github.com/elbywan/crystalline/pull/13
Could you check and confirm that it works fine so I can merge? (artifacts can be downloaded here)
I tested and the patch at https://github.com/elbywan/crystalline/pull/13/files worked nicely, thanks!
Great! I just released v0.1.9 which contains the change 📦.
Hi,
Crystalline seems far better than first time I checked out, before first release, so I'm trying to use it on my editor and probably let it be the default LS for Crystal. However I found a minor issue that in my understanding seems like a wrong implementation of the LSP spec:
If the client capabilities for
documentSymbol
is set as:A
documentSymbol
request should create a response with an array ofSymbolInformation
whenhierarchicalDocumentSymbolSupport
is set tofalse
on client capabilities, but Crystalline is always sending an array ofDocumentSymbol
.How to reproduce
tijolo --debug
in some terminal.crystal = "scry"
by `crystal = "crystalline"Ctrp + P
then type.
(dot space).Alt + 2