Skip to content

[clangd] Completion key ArgumentLists doesn't take precedence over --function-arg-placeholders #135919

Open
@tongshengw

Description

@tongshengw

Thank you Clangd team for this incredible piece of software.

Quite a minor issue:

It seems that ArgumentLists should take precedence over --function-arg-placeholders as suggested in:
#63565 (comment)

ArgumentLists does not take precedence at the moment.

I was using ArgumentLists : "None" with --function-arg-placeholders=0, and function parenthesis generated. Removing --function-arg-placeholders=0 fixes this issue.

Expected behaviour:

ArgumentLists: "None" used with --function-arg-placeholders=0 prioritises ArgumentLists:"None".

clangd version 21.0.0git (https://github.com/llvm/llvm-project.git 2206e15)
Features: mac+debug+xpc
Platform: arm64-apple-darwin24.4.0

Would be great to know if this is intended behaviour or a bug. I will attempt to fix this if it is not intended behaviour.

Thanks! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions