Sublime Forum

Doc comments and formatting incorrect in LSP

#1

as you can see, mbedtls code uses some kind of formatted doc-comments/docstrings

it’s not up to the language sever/clangd to deal with the formatting, right? so,

I’d think that sublime would be able to interperet these correctly. I think they’re doxygen format? Anyways if anyone has an answer on how to move this forward, I’d like to hear it. VSCode with clangd extension also doesn’t interperet these correctly.

0 Likes

#2

Language Servers are responsible to provide docstrings in plain text or Markdown format, if formatting is desired.

0 Likes

#3

you’re right
it looks like clangd version 22 can be configured to use doxygen comments

it’s not officially released yet though

0 Likes