Skip to content

Conversation

@teowelton
Copy link
Contributor

Closes #39515

Details:

  • Improved logic for formatting completion labels, as some (such as namespace) were missing space characters.
  • Added extra logic as per stale PR language: Improve completion labels for clangd #39533 comment ensuring that cases where extra spaces are not necessary (such as functions) are not affected
    • I will note, I was not able to figure out how to fix the coloring of namespace within completion labels as mentioned in that comment, if someone would provide me with direction I would be happy to look into that too.

Previous:
previous

Fixed:
fixed

Release Notes:

  • Fixed minor issue where some clangd labels would be missing a space in formatting
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Oct 30, 2025
@Veykril Veykril self-assigned this Oct 30, 2025
Copy link
Member

@Veykril Veykril left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Veykril Veykril enabled auto-merge (squash) October 30, 2025 10:37
@Veykril Veykril disabled auto-merge October 30, 2025 10:37
@Veykril Veykril enabled auto-merge (squash) October 30, 2025 10:37
@Veykril Veykril merged commit 344f63c into zed-industries:main Oct 30, 2025
25 checks passed
@teowelton teowelton deleted the cpp-label-formatting-fix branch October 30, 2025 10:59
tomatitito pushed a commit to tomatitito/zed that referenced this pull request Nov 7, 2025
…ries#41544)

Closes zed-industries#39515

**Details:**
- Improved logic for formatting completion labels, as some (such as
`namespace`) were missing space characters.
- Added extra logic as per stale PR zed-industries#39533
[comment](zed-industries#39533 (comment))
ensuring that cases where extra spaces are not necessary (such as
functions) are not affected
- I will note, I was not able to figure out how to fix the coloring of
`namespace` within completion labels as mentioned in that comment, if
someone would provide me with direction I would be happy to look into
that too.

Previous:
<img width="812" height="530" alt="previous"
src="https://github.com/user-attachments/assets/b38f1590-ca2d-489d-9dcb-2d478eb6ed03"
/>

Fixed:
<img width="812" height="530" alt="fixed"
src="https://github.com/user-attachments/assets/020b151d-e5d9-467e-99c1-5b0cab057169"
/>


Release Notes:

- Fixed minor issue where some `clangd` labels would be missing a space
in formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

2 participants