microsoft / vscode

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

wrong display folder in source control side bar #163097

Closed evil0th closed 2 years ago

evil0th commented 2 years ago

Type: Bug

folders still display in source control when removed from workspace.

steps:

  1. add some folders(with git controlled, such as A,B,C)
  2. make some changes in folder A or B or C
  3. remove A or B or C folder from workspace
  4. check source control side bar , A or B or C still here

VS Code version: Code 1.72.0 (Universal) (64bbfbf67ada9953918d72e1df2f4d8e537d340e, 2022-10-04T23:21:58.256Z) OS version: Darwin x64 22.1.0 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz (4 x 2300)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|19, 9, 6| |Memory (System)|16.00GB (0.33GB free)| |Process Argv|--crash-reporter-id b798a18f-0f91-48a0-8056-726e1bf80977| |Screen Reader|no| |VM|0%|
Extensions (11) Extension|Author (truncated)|Version ---|---|--- vscode-ant-design-vue-helper|ant|1.0.6 dart-code|Dar|3.50.0 flutter|Dar|3.50.0 vscode-eslint|dba|2.2.6 prettier-vscode|esb|9.9.0 vscode-versionlens|pfl|1.0.10 minapp-vscode|qiu|2.4.8 intellicode-api-usage-examples|Vis|0.2.4 vscodeintellicode|Vis|1.2.28 volar|Vue|1.0.1 vscode-typescript-vue-plugin|Vue|1.0.2
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vsdfh931cf:30280410 vshan820:30294714 vstes263cf:30335440 vscoreces:30445986 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593:30376534 pythonvs932:30410667 cppdebug:30492333 vsclangdf:30486550 c4g48928:30535728 dsvsc012:30540252 azure-dev_surveyone:30548225 2144e591:30553903 pyindex848cf:30577861 fc301958:30573243 ```
lszomoru commented 2 years ago

/gifPlease

vscodenpa commented 2 years ago

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.

If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette).

Happy coding!

evil0th commented 2 years ago

1