Skip to content

Inlay hints are truncated  #205708

@jk000

Description

@jk000
  • VS Code Version: 1.86.2
  • OS Version: windows remote-ssh to linux

The LSP now truncates the array indices hint, making it hard to easily discern the total size of an array. This change occurred between versions 1.85.2 and 1.86.2. Tested below for clangd version 0.1.26

Before (1.85.2):
image
The vector is clearly 18 elements.

After (1.86.2):
image
A glance at the code is insufficient to easily determine the number of elements.

This is the same workspace on the same remote machine. The only difference is the version of vscode.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityinlay-hintson-release-notesIssue/pull request mentioned in release notesunder-discussionIssue is under discussion for relevance, priority, approachverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions