X Tutup
The Wayback Machine - https://web.archive.org/web/20201215060040/https://github.com/github/VisualStudio/issues/2563
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS 2019 - Formats JSON into a single line. #2563

Open
lugospod opened this issue Oct 31, 2020 · 0 comments
Open

VS 2019 - Formats JSON into a single line. #2563

lugospod opened this issue Oct 31, 2020 · 0 comments

Comments

@lugospod
Copy link

@lugospod lugospod commented Oct 31, 2020

Microsoft Visual Studio Community 2019 Version 16.7.7

What happened

When pasting or formatting JSON file with CTRL+K+D, VS formats/flattens the JSON into a single line.

Steps to Reproduce

  1. Copy JSON
  2. CTRL+V in Visual studio (file extension is .json)
  3. Result: only one line in file (no break lines)

Expected behavior

JSON formatted with \n\r

Screenshots

Visual studio JSON settings:
image
image

Logs

Visual studio info export
VisualStudioInfo.txt

Visual studio ActicityLog.xml
ActivityLog.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.
X Tutup