Skip to content

Signature information missing line breaks in VSCode #2513

@JWTheDBA

Description

@JWTheDBA

VSCode version:
1.104.2

VSCode clangd extension:
Version 0.2.0
(also tried with the prerelease version 0.3.2)

Clangd Version:
clangd version 22.0.0git (https://github.com/llvm/llvm-project.git 47211c4b96e99a3344a71570a99b991c5f5c1c01)
Features: mac+xpc
Platform: arm64-apple-darwin24.6.0

VSCode signature help shows code comments without line breaks. I've tried using the various .clangd CommentFormat values (plaintext, markdown, doxygen) but signature help doesn't change. This makes the comment information less useful because it's hard to read.

Note that on clangd included with macOS line breaks are correct:

Apple clangd version 17.0.0 (clang-1700.3.19.1)
Features: mac+xpc
Platform: arm64-apple-darwin24.6.0

See attached images.

Metadata

Metadata

Assignees

No one assigned

    Labels

    regressionRegression compared to an earlier clangd version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions