"Retry as admin" don't respect "File: Save without Formatting" #207401
Labels
bug
Issue identified by VS Code Team member as probable bug
file-io
File I/O
insiders-released
Patch has been released in VS Code Insiders
verified
Verification succeeded
workbench-run-as-admin
Issues concerning running as administrator
Milestone
Type: Bug
Open Visual Studio Code without admin privilege.
In settings, check "Format On Save".
Open a .html file that need admin privilege.
Insert html code that need to be formatted.
Save with "File: Save without Formatting"
Visual Studio Code will show a message box with "Retry as admin..."
Click on "Retry as admin..."
Validate Windows popup warning about admin rights.
The text will be formatted before be saved. (should not)
The problem also appears with cmake-format (I didn't test more formatter).
VS Code version: Code - Insiders 1.88.0-insider (9c3cc8b, 2024-03-12T05:49:05.934Z)
OS version: Windows_NT x64 10.0.22631
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: