You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I accidentally created a folder ending with a dot, say src/app/folder., when the directory src/app/folder (without a trailing dot) also existed. The folder ending with a dot was an accident, so I tried to delete it. However, when deleting the folder src/app/folder. in the GUI, VSCode actually deletes the different folder src/app/folder!
While other software (Including Microsoft Windows Explorer) also have trouble deleting folders ending with dots, I think it is good if VSCode also takes this into account.
Despite a folder ending in a dot being a possible illegal path, the fact that these folders can be created and can exist, I think that VSCode should check for these situations to prevent deleting a different folder from the one selected. For me it caused me to lose some uncommitted progress.
In this case, how the folder was created does not matter for the issue VSCode is having, but you can read more about that on the Issue I created for Angular-CLI.
I hope this helps!
VS Code version: Code 1.96.2 (fabdb6a, 2024-12-19T10:22:47.216Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
Item
Value
CPUs
11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz (8 x 2611)
Type: Bug
I accidentally created a folder ending with a dot, say
src/app/folder.
, when the directorysrc/app/folder
(without a trailing dot) also existed. The folder ending with a dot was an accident, so I tried to delete it. However, when deleting the foldersrc/app/folder.
in the GUI, VSCode actually deletes the different foldersrc/app/folder
!While other software (Including Microsoft Windows Explorer) also have trouble deleting folders ending with dots, I think it is good if VSCode also takes this into account.
Despite a folder ending in a dot being a possible illegal path, the fact that these folders can be created and can exist, I think that VSCode should check for these situations to prevent deleting a different folder from the one selected. For me it caused me to lose some uncommitted progress.
In this case, how the folder was created does not matter for the issue VSCode is having, but you can read more about that on the Issue I created for Angular-CLI.
I hope this helps!
VS Code version: Code 1.96.2 (fabdb6a, 2024-12-19T10:22:47.216Z)
OS version: Windows_NT x64 10.0.19045
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
webnn: disabled_off
Extensions (35)
A/B Experiments
The text was updated successfully, but these errors were encountered: