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

Formatting on Save hangs indefinitely starting in version 1.42 #92652

Closed
dionridley opened this issue Mar 13, 2020 · 3 comments
Closed

Formatting on Save hangs indefinitely starting in version 1.42 #92652

dionridley opened this issue Mar 13, 2020 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) formatting Source formatter issues

Comments

@dionridley
Copy link

dionridley commented Mar 13, 2020

Issue Type: Bug

Since version 1.42 my formatters stopped functioning properly. Looking online it looks like many formatters are experiencing the same issue. What is happening is when you save a file and the formatter runs it just hangs indefinitely. If I hit cancel the file will format properly and finish saving. This issue occurs on both Windows and MacOS.

To work around the issue i've installed version 1.41

2020-03-13 09 15 49

VS Code version: Code 1.43.0 (78a4c91, 2020-03-09T19:34:44.548Z)
OS version: Darwin x64 19.3.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (8 x 2900)
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: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) 3, 3, 3
Memory (System) 16.00GB (0.36GB free)
Process Argv -psn_0_7513898
Screen Reader no
VM 0%
Extensions (4)
Extension Author (truncated) Version
EditorConfig Edi 0.14.4
prettier-vscode esb 3.20.0
vscode-elixir mjm 1.1.0
vscode-elixir-formatter sam 0.2.0
@vscodebot vscodebot bot removed the new release label Mar 14, 2020
@jrieken jrieken added formatting Source formatter issues *duplicate Issue identified as a duplicate of another issue(s) labels Mar 16, 2020
@jrieken
Copy link
Member

jrieken commented Mar 16, 2020

This is a duplicate. Unfortunately, I don't recall the exact issue number nor its title 😳 Anyways, searching for issues with the same labels will likely help you 👉
https://github.com/microsoft/vscode/issues?utf8=✓&q=is%3Aopen+label%3Aformatting

@jrieken jrieken closed this as completed Mar 16, 2020
@vscodebot
Copy link

vscodebot bot commented Mar 16, 2020

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@ponchautf
Copy link

This is a duplicate. Unfortunately, I don't recall the exact issue number nor its title 😳 Anyways, searching for issues with the same labels will likely help you 👉
https://github.com/microsoft/vscode/issues?utf8=✓&q=is%3Aopen+label%3Aformatting

Unfortunately your link does not help at all.
Can't find any issue with your link (even searching wider and on closed issues also)

I have this issue with multiple languages : razor files, js files, ....
Don't seems to be related to an extention (as it occurs with prettier, onmisharp, ...)

@github-actions github-actions bot locked and limited conversation to collaborators Apr 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) formatting Source formatter issues
Projects
None yet
Development

No branches or pull requests

3 participants