Skip to content

After formatting JSON you need to scroll left to see the formatted result #48051

@mackaaij

Description

@mackaaij

Issue Type: Bug

After formatting text as JSON, the small preview in the top right shows the JSON neatly formatted. The main window is empty but does show line numbers.

Workaround: Scroll left or switch back and forth between screens to see the formatted JSON.

VS Code version: Code 1.22.2 (3aeede7, 2018-04-12T16:32:53.389Z)
OS version: Darwin x64 17.5.0

System Info
Item Value
CPUs Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz (4 x 3100)
Load (avg) 3, 3, 3
Memory (System) 16.00GB (0.42GB free)
Process Argv /Applications/Visual Studio Code.app/Contents/MacOS/Electron
Screen Reader no
VM 0%
Extensions (7)
Extension Author (truncated) Version
xml Dot 1.9.2
beautify Hoo 1.3.0
githistory don 0.4.0
mssql ms- 1.3.1
python ms- 2018.3.1
PowerShell ms- 1.6.0
team ms- 1.133.0

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugformattingSource formatter issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions