Skip to content

Tighten inlay hint labels#147

Merged
roife merged 1 commit into
masterfrom
minor/hint-padding-and-spaces
May 26, 2026
Merged

Tighten inlay hint labels#147
roife merged 1 commit into
masterfrom
minor/hint-padding-and-spaces

Conversation

@roife
Copy link
Copy Markdown
Member

@roife roife commented May 26, 2026

No description provided.

Copilot AI review requested due to automatic review settings May 26, 2026 09:13
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR tightens the formatting of inlay hint labels by removing embedded whitespace in the label strings and relying on LSP padding_left/padding_right for spacing.

Changes:

  • Adjusts HintAnchor padding for parameter assignments to ensure consistent spacing without trailing spaces in labels.
  • Removes trailing/leading spaces from parameter assignment and port connection inlay hint label strings.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread crates/ide/src/inlay_hint.rs
Comment thread crates/ide/src/inlay_hint.rs
@roife roife force-pushed the minor/hint-padding-and-spaces branch from 53f8453 to 3e334e0 Compare May 26, 2026 09:24
@roife roife merged commit 0d8c5d3 into master May 26, 2026
7 checks passed
@roife roife deleted the minor/hint-padding-and-spaces branch May 26, 2026 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants