Lonefy / vscode-JS-CSS-HTML-formatter

JS,CSS,HTML formatter for vscode
48 stars 23 forks source link

Formats on save when the option is off #131

Open bleonard252 opened 3 years ago

bleonard252 commented 3 years ago

Issue Type: Bug

  1. Open any unorthodox-formatted JavaScript or TypeScript code.
  2. Make sure the "Format on save" option is disabled.
  3. Attempt to save the file.

Expected result: The file saves with no further changes.

Actual result: The file is formatted and immediately saved.

Extension version: 0.2.3 VS Code version: Code - Insiders 1.59.0-insider (50b3811fdc5b5c80ca516a2edfffedcbd464b033, 2021-07-15T05:13:58.348Z) OS version: Windows_NT x64 10.0.22000 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz (8 x 1190)| |GPU Status|2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|7.77GB (2.89GB free)| |Process Argv|--crash-reporter-id 4dab4277-4118-4de4-a87f-82e42a890ac7| |Screen Reader|no| |VM|0%|
A/B Experiments ``` vsliv695:30137379 vsins829:30139715 vsliv368cf:30146710 vsreu685:30147344 python383:30185418 pythonvspyt602:30291494 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythonvspyt639:30291487 pythontb:30258533 vspre833:30321513 pythonptprofiler:30281269 vshan820:30294714 pythondataviewer:30285072 vscus158:30321503 pythonvsuse255:30319630 vscod805cf:30301675 pythonvspyt200:30323110 vsccppwtct:30312693 pythonvssor306:30340298 bridge0708:30335490 ```