Skip to content

Newline in tree item label makes label unreadable #163224

Description

@alexweininger

Does this issue occur when all extensions are disabled?: Issue is with extension tree view API

  • VS Code Version: 1.72.0-insider (happens on stable and insiders)
  • OS Version: Darwin x64 21.6.0

Version: 1.72.0-insider
Commit: 64bbfbf
Date: 2022-10-04T23:18:32.134Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Darwin x64 21.6.0
Sandboxed: Yes

Steps to Reproduce:

  1. Add a newline \n to a tree item label

image

I've updated the sample tree view extension to reproduce the bug: https://github.com/alexweininger/vscode-extension-samples/tree/alex/newline-in-tree-item-label/tree-view-sample

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code Insiderstree-viewsExtension tree view issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions