microsoft / vscode

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

Need to reinstall the code command every day. #216769

Open king-open opened 3 weeks ago

king-open commented 3 weeks ago

Type: Bug

For example, when I use the terminal to try to open with the code . command.

截屏2024-06-21 07 02 10

It shows that I need to reinstall this command. Reinstalling it once every one or two days was manageable, but it has been happening for n days now. Is there a bug on your end?

VS Code version: Code 1.85.2 (Universal) (8b3775030ed1a69b13e4f4c628c612102e30a681, 2024-01-18T06:40:32.531Z) OS version: Darwin arm64 23.5.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M1 (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.11GB free)| |Process Argv|--crash-reporter-id c3db8f46-97f6-4177-bb1f-4ebeb8415966| |Screen Reader|no| |VM|0%|
Extensions (42) Extension|Author (truncated)|Version ---|---|--- rust-bundle|1Yi|1.0.0 browse-lite|ant|0.3.9 iconify|ant|0.8.1 icons-carbon|ant|0.2.6 slidev|ant|0.4.2 smart-clicks|ant|0.1.6 unocss|ant|0.61.0 vite|ant|0.2.5 wenyan-lang|ant|0.12.1 dart-code|Dar|3.90.0 flutter|Dar|3.90.0 vscode-go-syntax|dun|0.0.18 rust-syntax|dus|0.6.1 file-icons|fil|1.1.0 go|gol|0.41.4 vue-snippets|hol|1.0.4 vscode-nuejs|jac|0.0.4 qwerty-learner|kai|0.3.7 syntax-project-pbxproj|mar|0.1.3 vscode-language-pack-zh-hans|MS-|1.85.2024021409 debugpy|ms-|2024.0.0 python|ms-|2024.2.1 vscode-pylance|ms-|2024.3.2 jupyter|ms-|2023.11.1100101639 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.18 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-slideshow|ms-|0.1.5 remote-containers|ms-|0.327.0 hardhat-solidity|Nom|0.7.3 LiveServer|rit|5.7.9 Vite|Rui|0.0.4 rust-analyzer|rus|0.3.2002 vue-vscode-snippets|sdr|3.1.1 crates|ser|0.6.6 stately-vscode|sta|2.1.0 code-spell-checker|str|3.0.1 vscode-lldb|vad|1.10.0 windicss-intellisense|voo|0.21.6 vim|vsc|1.27.3 volar|Vue|2.0.7 vue3-snippets-for-vscode|wej|0.0.35 (1 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 pythontbext0:30879054 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 jchc7451:31067544 dsvsc021:30996838 9c06g630:31013171 a69g1124:31058053 dvdeprecation:31068756 dwnewjupyter:31046869 2f103344:31071589 impr_priority:31077527 refactorc:31080028 ```
VSCodeTriageBot commented 3 weeks ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.90.2. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

king-open commented 3 weeks ago

How to update

king-open commented 3 weeks ago
截屏2024-06-21 07 16 04
king-open commented 3 weeks ago

"I'm now on version 1.90.2, but I'm still experiencing the same issues as before. Are there any good methods to resolve this?"

截屏2024-06-22 07 48 52