microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.21k stars 29.29k forks source link

Symbolic link filename deleted then recreated as ordinary file still shows arrow symbol #225664

Closed cleye-sherpah closed 2 months ago

cleye-sherpah commented 2 months ago

Type: Bug

I created a symbolic link from the vs code terminal with filename "metrics.py" i.e. ln -s ~/abc/metrics.py ./metrics.py The file in the Explorer window show the arrow icon indicating it was a symbolic link which is expected. After deleting the symbolic link file then creating another normal (non-symbolic link) file called "metrics.py" the arrow icon still remains. Pretty niche issue but just thought i'd let yas know ;)

VS Code version: Code 1.92.1 (Universal) (eaa41d57266683296de7d118f574d0c2652e1fc4, 2024-08-07T20:16:39.455Z) OS version: Darwin x64 23.5.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2200)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|2, 2, 2| |Memory (System)|16.00GB (0.01GB free)| |Process Argv|--crash-reporter-id 6e1a0df5-813f-413b-a487-0e6f70003962| |Screen Reader|no| |VM|0%|
Extensions (19) Extension|Author (truncated)|Version ---|---|--- multi-cursor-case-preserve|Car|1.0.5 gitlens|eam|15.2.3 copilot|Git|1.222.0 copilot-chat|Git|0.18.2 gc-excelviewer|Gra|4.2.60 terraform|has|2.32.2 vscode-docker|ms-|1.29.2 vscode-dotnet-runtime|ms-|2.1.1 debugpy|ms-|2024.11.2024081401 isort|ms-|2023.13.12071014 python|ms-|2024.13.2024081401 vscode-pylance|ms-|2024.8.1 jupyter|ms-|2024.7.0 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.19 vscode-jupyter-cell-tags|ms-|0.1.9 vscode-jupyter-slideshow|ms-|0.1.6 synthwave-vscode|Rob|0.1.15 vscode-stripe|str|3.2.4 (4 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 2i9eh265:30646982 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 2e7ec940:31000449 pythontbext0:30879054 accentitlementsc:30995553 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 da93g388:31013173 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupytercf:31046870 newcmakeconfigv2:31071590 impr_priority:31102340 refactort:31108082 pythonrstrctxt:31112756 wkspc-onlycs-c:31111717 ```
gjsjohnmurray commented 2 months ago

/duplicate of #225663

vs-code-engineering[bot] commented 2 months ago

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 similar existing issues. See also our issue reporting guidelines.

Happy Coding!