-
Notifications
You must be signed in to change notification settings - Fork 39.2k
Problems pane collapses whitespace #229112
Copy link
Copy link
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugerror-listProblems viewProblems viewinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsidersverifiedVerification succeededVerification succeeded
Milestone
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugerror-listProblems viewProblems viewinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsidersverifiedVerification succeededVerification succeeded
Does this issue occur when all extensions are disabled?: Yes
Version: 1.93.1 (Universal)
Commit: 38c31bc
Date: 2024-09-11T17:20:05.685Z
Electron: 30.4.0
ElectronBuildId: 10073054
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Darwin arm64 23.6.0
As an extension author, diagnostics undergo unexpected formatting specifically in the problems pane. In the screenshot, you can see what should be a graphql query with various levels of indentation with all of its leading whitespace collapsed. This issue isn't limited to only leading whitespace though - it seems like any whitespace per line is collapsed down to a single space.
Steps to Reproduce:
sample-demo.rs(Side note: the whitespace is even preserved in the tooltip when you hover over the problem)