Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Hover: preserve compact markdown lists in doc comments #199

Closed
novusnota opened this issue Feb 13, 2025 · 0 comments · Fixed by #255
Closed

Hover: preserve compact markdown lists in doc comments #199

novusnota opened this issue Feb 13, 2025 · 0 comments · Fixed by #255
Labels
bug Something isn't working or doesn't seem right lsp: hover `textDocument/` Hover Request
Milestone

Comments

@novusnota
Copy link
Member

Currently, if the doc comment has any lists, they're written in compact form, i.e.:

/// * ...
/// * ...
/// * ...
asm fun someCode() { }

Which should translate to such lists in the hover:

* ...
* ...
* ...

However, currently there are extra \n added in-between, which makes the lists displayed in their "spatial" form, occupying too much visual space:

* ...

* ...

* ...
@novusnota novusnota added bug Something isn't working or doesn't seem right lsp: hover `textDocument/` Hover Request labels Feb 13, 2025
@i582 i582 added this to the v0.2.0 milestone Feb 13, 2025
i582 added a commit that referenced this issue Feb 17, 2025
@i582 i582 closed this as completed in #255 Feb 17, 2025
@i582 i582 closed this as completed in a6186ec Feb 17, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working or doesn't seem right lsp: hover `textDocument/` Hover Request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants