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

Format on save mode: modifications caused invalid formatting in JSON document #107151

Closed
vivektiwary opened this issue Sep 21, 2020 · 3 comments
Closed
Assignees
Labels
*caused-by-extension Issue identified to be caused by an extension info-needed Issue requires more information from poster

Comments

@vivektiwary
Copy link

We have written the needed data into your clipboard because it was too large to send. Please paste.
Issue Type: Bug

  1. Paste any valid json with array of objects
  2. Save it
  3. Vscode will format { } with ({ })

VS Code version: Code 1.49.1 (58bb7b2, 2020-09-16T23:21:17.533Z)
OS version: Darwin x64 19.6.0

System Info
Item Value
CPUs Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 3, 4, 4
Memory (System) 16.00GB (0.32GB free)
Process Argv -psn_0_6206955 --crash-reporter-id 6d76b1fb-143f-47b3-a162-06c182403bec
Screen Reader no
VM 0%
Extensions (37)
Extension Author (truncated) Version
vscode-tomcat ada 0.11.3
All-Autocomplete Ati 0.0.23
code-gnu-global aus 0.2.2
npm-intellisense chr 1.3.1
path-intellisense chr 2.3.0
vscode-eslint dba 2.1.8
es7-react-js-snippets dsz 3.0.0
gitlens eam 10.2.2
vscode-html-css ecm 0.2.3
prettier-vscode esb 5.6.0
auto-close-tag for 0.5.8
auto-rename-tag for 0.1.4
go gol 0.17.0
duplicateselection kka 1.0.1
vscode-docker ms- 1.6.0
python ms- 2020.8.109390
cpptools ms- 1.0.0
vscode-typescript-next ms- 4.1.20200920
vscode-extension-auto-import Nuc 1.4.3
vscode-boot-dev-pack Piv 0.0.8
vscode-manifest-yaml Piv 1.22.0
vscode-spring-boot Piv 1.22.0
java red 0.67.0
vscode-xml red 0.13.0
vs-code-prettier-eslint rve 0.3.2
jestRunIt ves 0.4.0
vscodeintellicode Vis 1.2.10
vscode-java-debug vsc 0.28.0
vscode-java-dependency vsc 0.13.0
vscode-java-pack vsc 0.10.0
vscode-java-test vsc 0.24.2
vscode-maven vsc 0.24.2
vscode-spring-boot-dashboard vsc 0.1.10
vscode-spring-initializr vsc 0.5.0
vim vsc 1.16.0
vscode-js-console-utils wht 0.7.0
html-css-class-completion Zig 1.19.0
@vscodebot
Copy link

vscodebot bot commented Sep 21, 2020

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@aeschli
Copy link
Contributor

aeschli commented Sep 21, 2020

Does this reproduce with extensions disabled?

@aeschli aeschli added the info-needed Issue requires more information from poster label Sep 21, 2020
@vivektiwary
Copy link
Author

Hi @aeschli,
No it is not happening when i disable prettier. So it might be related to prettier.

@aeschli aeschli closed this as completed Nov 3, 2020
@aeschli aeschli added the *caused-by-extension Issue identified to be caused by an extension label Nov 3, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Dec 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*caused-by-extension Issue identified to be caused by an extension info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants