dotnet / dotnet/command-line-api

Idea: CompletionItem.HelpLink

Open
#1,962 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

CompletionItem could have a `string HelpLink` property for a documentation URI. The type and name would be consistent with . Help could then render this as an OSC 8 hyperlink (), although doing so would complicate the width measurement during two-column layout and line breaking.

On the other hand, as long as class CompletionItem remains unsealed, this can be implemented in application code.

[CompletionItem in Language Server Protocol (LSP)](https://github.com/microsoft/language-server-protocol/blob/50732421db206ec7dd5c30b88326083bcaf826ef/_specifications/lsp/3.18/language/completion.md) does not appear to have this feature.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.