RLovelett / langserver-swift

A Swift implementation of the open Language Server Protocol.
Apache License 2.0
177 stars 16 forks source link

Show types and render docs in markdown #54

Closed chrismwendt closed 6 years ago

chrismwendt commented 6 years ago

Before:

image

After:

image

I switched from AEXML to SWXMLHash because AEXML doesn't properly expose the text nodes within XML via its API:

image

But SWXMLHash does:

image

The rendering of the docs could be better with some massaging of the XML structure, but I was unable to figure out how to do properly.