microsoft / vscode

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

recent list not showing projects on external drive between sessions #198342

Closed miqmago closed 12 months ago

miqmago commented 12 months ago

Type: Bug

  1. Open project located on external drive
  2. Close visual code with re-open last session setting
  3. Disconnect external drive
  4. Open visual code (will try to open last session)

The project will automatically disappear from recent projects list. This is very annoying, I've all my projects on an external drive and it is not always connected.

This is the case I could reproduce for sure, but sometimes (randomly?) the projects disappears from recent list even if external drive is attached.

VS Code version: Code 1.84.2 (Universal) (1a5daa3a0231a0fbba4f14db7ec463cf99d7768e, 2023-11-09T10:52:33.687Z) OS version: Darwin arm64 22.2.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M2 (8 x 24)| |GPU Status|2d_canvas: enabled
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|2, 2, 2| |Memory (System)|8.00GB (0.06GB free)| |Process Argv|--crash-reporter-id fdf0a382-638b-4afd-a5c2-8600768f511f| |Screen Reader|no| |VM|0%|
Extensions (87) Extension|Author (truncated)|Version ---|---|--- jsx|Twe|0.0.1 aw-watcher-vscode|act|0.5.0 swagger-snippets|adi|0.0.1 vscode-nginx-conf|ahm|0.3.2 Bookmarks|ale|13.4.2 vscode-color|ans|0.4.5 swagger-viewer|Arj|3.1.2 scenebuilderextension|bil|1.0.1 doxdocgen|csc|1.4.0 vscode-svgviewer|css|2.0.0 mustache|daw|1.1.1 vscode-eslint|dba|2.4.2 githistory|don|0.6.20 xml|Dot|2.5.1 overtype|DrM|0.5.0 swagger-generator|dwa|0.1.1 gitlens|eam|14.5.0 swagger-validator|EmS|2.0.0 stencil-snippets|fdo|3.0.0 vscode-ionic-snippets|fiv|2.2.2 html-slim-scss-css-class-completion|gen|1.7.8 html-preview-vscode|geo|0.2.5 vscode-nginx-conf-hint|han|0.3.0 githd|hui|2.3.3 rest-client|hum|0.25.1 vscode-ansi|ili|1.1.6 vscode-edit-csv|jan|0.8.3 vscode-todo-highlight|jgc|2.0.8 svg|joc|1.5.3 json2csv|kha|0.0.1 vscode-phpfmt|kok|1.1.27 VS-code-drupal|mar|0.0.12 git-graph|mhu|1.30.0 code-beautifier|mic|2.3.3 Angular-BeastCode|Mik|10.0.3 vscode-scss|mrm|0.10.0 vscode-docker|ms-|1.28.0 vscode-language-pack-es|MS-|1.84.2023111509 black-formatter|ms-|2023.6.0 python|ms-|2023.20.0 vscode-pylance|ms-|2023.11.10 jupyter|ms-|2023.10.1100000000 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.17 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-slideshow|ms-|0.1.5 remote-containers|ms-|0.321.0 remote-ssh|ms-|0.107.0 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.81.8 vscode-remote-extensionpack|ms-|0.24.0 cpptools|ms-|1.18.4 cpptools-extension-pack|ms-|1.3.0 hexeditor|ms-|1.9.12 remote-explorer|ms-|0.4.1 remote-server|ms-|1.5.0 vscode-serial-monitor|ms-|0.10.0 vscode-typescript-next|ms-|5.4.20231113 vsliveshare|ms-|1.0.5892 vscode-stencil-tools|nat|2.1.0 typescript-uml|ott|1.1.7 csv-to-table|php|1.4.0 platformio-ide|pla|3.3.1 geo-data-viewer|Ran|2.6.0 nginx-formatter|ray|0.0.13 fabric8-analytics|red|0.7.3 java|red|1.24.0 vscode-commons|red|0.0.6 vscode-yaml|red|1.14.0 sass-indented|rob|1.5.1 vscode-nginx|sha|0.6.0 svg-snippets|sid|1.0.1 cmantic|tde|0.9.0 pdf|tom|1.2.2 lorem-ipsum|Tyr|1.3.1 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.2.30 vscodeintellicode-completions|Vis|1.0.22 vscode-gradle|vsc|3.13.4 vscode-java-debug|vsc|0.55.0 vscode-java-dependency|vsc|0.23.2 vscode-java-pack|vsc|0.25.15 vscode-java-test|vsc|0.40.1 vscode-maven|vsc|0.43.0 vscode-todo-highlight|way|1.0.5 vscode-nginx|wil|0.7.2 markdown-pdf|yza|1.5.0 (1 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492:30256859 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vsdfh931cf:30280410 vshan820:30294714 vstes263:30335439 vscorecescf:30445987 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 pythonvs932:30410667 py29gd2263:30880072 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyone:30548225 282f8724:30602487 89544117:30613380 showlangstatbar:30737416 pythonfmttext:30731395 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 pythonnosmt12:30797651 pythonidxpt:30866567 pythonnoceb:30805159 synctok:30869157 dsvsc013:30795093 dsvsc014:30804076 dsvsc015:30845448 pythontestfixt:30871694 pythonregdiag2:30871582 pyreplss2:30886141 pythonmypyd1:30879173 pythoncet0:30885854 h48ei257:30885898 pythontbext0:30879054 dsvsc016cf:30886111 dsvsc017cf:30886113 dsvsc018cf:30886115 aa_t_chat:30882232 ```
vscodenpa commented 12 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!