rcjsuen / dockerfile-language-service

Dockerfile language service for providing an API to create feature-rich Dockerfile editors in JavaScript.
MIT License
16 stars 2 forks source link

Provide API for allowing a CompletionItem's documentation to be in Markdown #12

Closed rcjsuen closed 6 years ago

rcjsuen commented 6 years ago

We should inspect the client's capabilities.textDocument.completion.completionItem.documentationFormat property to determine what kind of markup the client supports. If it supports Markdown then we should use Markdown in the documentation field of CompletionItems.

rcjsuen commented 6 years ago

Opened rcjsuen/dockerfile-language-server-nodejs#207 for the issue described by the original comment.

What we need to do in the language service is to introduce an API or flag of some sort so allow clients to toggle whether they want documentation returned in Markdown in plain text.