Skip to content

Formatting on Save hangs indefinitely starting in version 1.42 #92652

Closed

Description

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

Activity

  1. added
    formatting
    *duplicate
    on Mar 16, 2020
  2. jrieken commented on Mar 16, 2020

    @jrieken
    Contributor

    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

  3. vscodebot commented on Mar 16, 2020

    @vscodebot

    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!

  4. ponchautf commented on Apr 20, 2020

    @ponchautf

    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, ...)

  5. locked and limited conversation to collaborators on Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicateformatting

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions