Onboarding experience: Installing git does not get synced with onboarding task/built-in terminal
See original GitHub issueWhen trying to complete the “Install git” task in the VS Code onboarding process I had issues with VS Code recognizing that I did actually install git and could only fix the problem by closing and reopening VS Code entirely.
It would be great if this synced without having to close the app because it breaks the flow of the onboarding experience.
Issue Type: Bug
- (You might need a new unconfigured a machine without git installed)
- Run “Developer: Reset Welcome Page Walkthrough Progress”
- Find the “Install git” task in the “Boost your productivity” section (note that this might not show up if you have git installed)
- Separately, open up the Powershell app in with Admin privileges
- Install chocolatey via Powershell
- Use chocolatey to install git via Powershell
- Go back to VS Code
You should see that the “Install git” task is still rendered as not complete. On top of that if you open the built-in VS Code terminal and type “choco” or “git” it should report back errors saying that these commands do not exist.
To fix the problem, close and reopen VS Code entirely and you should see that the “Install git” task is now replaced with a new task for installing a repo and if you run the same commands in the built-in terminal they should succeed.
Details
VS Code version: Code - Insiders 1.68.0-insider (87630a9122f88f5062fe9964839a92116c274a86, 2022-06-06T17:09:26.575Z) OS version: Windows_NT x64 10.0.22000 Restricted Mode: No
System Info
Item | Value |
---|---|
CPUs | 11th Gen Intel® Core™ i7-11370H @ 3.30GHz (8 x 3302) |
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 oop_rasterization: enabled 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 |
Load (avg) | undefined |
Memory (System) | 31.84GB (17.20GB free) |
Process Argv | –crash-reporter-id f92bbe85-d251-4567-9fb4-e18928161621 |
Screen Reader | no |
VM | 0% |
Extensions (6)
Extension | Author (truncated) | Version |
---|---|---|
vscode-html-css | ecm | 1.12.2 |
python | ms- | 2022.7.11581010 |
vscode-pylance | ms- | 2022.6.0 |
jupyter | ms- | 2022.6.1001601017 |
jupyter-keymap | ms- | 1.0.0 |
jupyter-renderers | ms- | 1.0.8 |
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30422396
pythontb:30258533
pythonvspyt551cf:30291413
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805:30301674
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30404738
wslgetstarted:30449409
vscscmwlcmt:30465136
cppdebug:30492333
pylanb8912cf:30496797
vsclangdf:30492506
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:8 (8 by maintainers)
Top GitHub Comments
If your
$Path
environment variable changes on Windows you need to restart the entire VS Code window unfortunately. The feature request to make this act better on Windows is https://github.com/microsoft/vscode/issues/47816.Moving to @lszomoru for the restart note which should be Windows only.
Echo to the part that perhaps some hint text telling me to restart VS Code (or maybe just kill terminal? I haven’t tried) to refresh the terminal after installing git, or chocolatey if I’m on Windows, would be nice to have. It’s perfectly fair that terminal error message tells me unrecognized command, but for net new users some hint in the tutorial would be nice.