Closed
Description
Type: Bug
Issue Description
When "terminal.integrated.shellIntegration.enabled": true
is set, the path completion behavior in Git Bash becomes problematic. When using the cd
command with tab completion, the following issues occur:
- The
cd
command disappears from the command line - The path is auto-completed with a PowerShell-style format (e.g.,
.\ruoyi-modules\
) - This path format works in PowerShell but is not compatible with Git Bash
Steps to Reproduce
- Set
"terminal.integrated.shellIntegration.enabled": true
in settings - Open Git Bash terminal in VS Code
- Type
cd
and press space - When the path selection dialog appears, select a path using Tab completion
Expected Behavior
- The
cd
command should remain in the command line - Path completion should follow Git Bash format conventions
Actual Behavior
- The
cd
command disappears - Paths are completed in PowerShell format (e.g.,
.\ruoyi-modules\
) - The resulting command is not executable in Git Bash
VS Code version: Code - Insiders 1.98.0-insider (105d4af, 2025-02-19T06:43:12.388Z)
OS version: Windows_NT x64 10.0.26100
Modes:
System Info
Item | Value |
---|---|
CPUs | 13th Gen Intel(R) Core(TM) i5-1340P (16 x 2189) |
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 skia_graphite: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
Load (avg) | undefined |
Memory (System) | 63.64GB (31.93GB free) |
Process Argv | --crash-reporter-id 3df60e69-6e36-46e5-9b3d-020ce9a3ab01 |
Screen Reader | no |
VM | 0% |
Extensions (152)
Extension | Author (truncated) | Version |
---|---|---|
better-comments | aar | 3.0.2 |
codesnap | adp | 1.3.4 |
markdown-mermaid | bie | 1.27.0 |
vs-code-bpmn-io | bpm | 0.22.0 |
vscode-tailwindcss | bra | 0.14.6 |
turbo-console-log | Cha | 2.12.0 |
charkoal | Cha | 0.8.7 |
ruff | cha | 2025.8.0 |
npm-intellisense | chr | 1.4.5 |
path-intellisense | chr | 2.10.0 |
vscode-markdownlint | Dav | 0.59.0 |
vscode-eslint | dba | 3.0.13 |
dbcode | dbc | 1.6.20 |
FreeMarker | dco | 0.0.9 |
dingtalk-toolkit | Din | 0.2.11 |
gitlens | eam | 2025.2.1804 |
EditorConfig | Edi | 0.17.0 |
vscode-demo-time | eli | 0.0.73 |
magick-image-reader | ely | 0.5.0 |
prettier-vscode | esb | 11.0.0 |
shell-format | fox | 7.2.5 |
codespaces | Git | 1.17.3 |
copilot | Git | 1.273.1385 |
copilot-chat | Git | 0.25.2025021901 |
copilot-workspace | git | 0.5.4 |
remotehub | Git | 0.65.2024112101 |
vscode-github-actions | git | 0.27.1 |
vscode-pull-request-github | Git | 0.105.2025021904 |
gc-excelviewer | Gra | 4.2.63 |
output-colorizer | IBM | 0.1.2 |
icon-fonts | idl | 2.5.4 |
svg | joc | 1.5.4 |
vscode-gutter-preview | kis | 0.32.2 |
vscode-leetcode | Lee | 0.18.4 |
i18n-ally | lok | 2.13.1 |
language-matlab | Mat | 1.3.1 |
rainbow-csv | mec | 3.17.0 |
template-string-converter | meg | 0.6.1 |
git-graph | mhu | 1.30.0 |
ecdc | mit | 1.8.0 |
vscode-filesize | mkx | 3.2.2 |
mongodb-vscode | mon | 1.12.0 |
vscode-duplicate | mrm | 1.2.1 |
vscode-docker | ms- | 1.29.4 |
vscode-language-pack-zh-hans | MS- | 1.98.2025021909 |
csdevkit | ms- | 1.17.27 |
csharp | ms- | 2.65.29 |
dotnet-interactive-vscode | ms- | 1.0.6111011 |
dotnet-maui | ms- | 1.9.13 |
vscode-dotnet-pack | ms- | 1.0.13 |
vscode-dotnet-runtime | ms- | 2.2.8 |
vscodeintellicode-csharp | ms- | 2.2.3 |
vscode-postgresql | ms- | 0.3.0 |
playwright | ms- | 1.1.13 |
autopep8 | ms- | 2024.2.0 |
black-formatter | ms- | 2024.6.0 |
debugpy | ms- | 2025.1.2025021701 |
flake8 | ms- | 2025.1.10481012 |
gather | ms- | 2022.3.2 |
isort | ms- | 2023.13.13171013 |
mypy-type-checker | ms- | 2025.1.10451009 |
pylint | ms- | 2024.2.0 |
python | ms- | 2025.1.2025021801 |
vscode-pylance | ms- | 2025.2.100 |
vscode-python-envs | ms- | 0.3.10441011 |
datawrangler | ms- | 1.19.2 |
jupyter | ms- | 2025.2.2025021801 |
jupyter-hub | ms- | 2024.10.1002831100 |
jupyter-keymap | ms- | 1.1.2 |
jupyter-renderers | ms- | 1.1.2025012901 |
python-ds-extension-pack | ms- | 0.0.1 |
vscode-jupyter-cell-tags | ms- | 0.1.9 |
vscode-jupyter-powertoys | ms- | 0.1.1 |
vscode-jupyter-slideshow | ms- | 0.1.6 |
remote-containers | ms- | 0.398.0 |
remote-ssh | ms- | 0.118.2025021215 |
remote-ssh-edit | ms- | 0.87.0 |
remote-wsl | ms- | 0.88.5 |
remote-wsl-recommender | ms- | 0.0.20 |
vscode-remote-extensionpack | ms- | 0.26.0 |
cmake-tools | ms- | 1.20.52 |
copilot-mermaid-diagram | ms- | 0.0.2025021901 |
cpptools | ms- | 1.24.1 |
cpptools-extension-pack | ms- | 1.3.0 |
extension-test-runner | ms- | 0.0.12 |
hexeditor | ms- | 1.11.1 |
live-server | ms- | 0.5.2024091601 |
powershell | ms- | 2025.1.0 |
remote-explorer | ms- | 0.5.2025021709 |
remote-repositories | ms- | 0.43.2024112101 |
remote-server | ms- | 1.5.2 |
vscode-copilot-data-analysis | ms- | 0.2.2 |
vscode-github-issue-notebooks | ms- | 0.0.130 |
vscode-serial-monitor | ms- | 0.13.250219001 |
vscode-speech | ms- | 0.12.1 |
vscode-speech-language-pack-zh-cn | ms- | 0.5.0 |
vscode-typescript-next | ms- | 5.8.20250218 |
vscode-websearchforcopilot | ms- | 0.1.2025021901 |
vsliveshare | ms- | 1.0.5948 |
windows-ai-studio | ms- | 0.10.0 |
typescript-explorer | mxs | 0.4.2 |
neo4j-for-vscode | neo | 1.6.0 |
indent-rainbow | ode | 8.3.1 |
mysql-shell-for-vs-code | Ora | 1.19.1 |
vscode-versionlens | pfl | 1.16.2 |
material-icon-theme | PKi | 5.19.0 |
postman-for-vscode | Pos | 1.7.0 |
vscode-css-peek | pra | 4.4.1 |
inline-html | pus | 0.3.10 |
geo-data-viewer | Ran | 2.6.0 |
tmlanguage-syntax-highlighter | Red | 2.6.6 |
java | red | 1.40.2025021908 |
vscode-commons | red | 0.0.6 |
vscode-community-server-connector | red | 0.26.19 |
vscode-rsp-ui | red | 0.24.11 |
vscode-xml | red | 0.28.2025021408 |
vscode-yaml | red | 1.16.0 |
omegasheets-vscode | rep | 0.2.0 |
LiveServer | rit | 5.7.9 |
rust-analyzer | rus | 0.4.2311 |
docxreader | Sha | 1.1.3 |
sonarlint-vscode | Son | 4.16.0 |
code-spell-checker | str | 4.0.38 |
code-spell-checker-cspell-bundled-dictionaries | str | 1.0.12 |
vscode-stylelint | sty | 1.4.0 |
shellcheck | tim | 0.37.7 |
vscode-decompiler | tin | 0.1.0 |
tom | 1.2.2 | |
luna-paint | Tyr | 0.16.0 |
vscode-counter | uct | 3.6.3 |
errorlens | use | 3.23.0 |
intellicode-api-usage-examples | Vis | 0.2.9 |
vscodeintellicode | Vis | 1.3.2 |
vscodeintellicode-completions | Vis | 2.0.1 |
vscode-css-compatibility | viv | 1.0.2 |
vscode-boot-dev-pack | vmw | 0.2.2 |
vscode-spring-boot | vmw | 1.60.0 |
vscode-gradle | vsc | 3.16.2024111106 |
vscode-java-debug | vsc | 0.58.2024090204 |
vscode-java-dependency | vsc | 0.24.1 |
vscode-java-pack | vsc | 0.29.2024091906 |
vscode-java-test | vsc | 0.43.0 |
vscode-maven | vsc | 0.44.2024072906 |
vscode-spring-initializr | vsc | 0.11.2024112703 |
volar | Vue | 2.2.2 |
vscode-wakatime | Wak | 25.0.0 |
console-ninja | Wal | 1.0.391 |
quokka-vscode | Wal | 1.0.708 |
vscode-import-cost | wix | 3.3.0 |
pretty-ts-errors | Yoa | 0.6.1 |
markdown-all-in-one | yzh | 3.6.2 |
material-theme | zhu | 3.19.0 |
(1 theme extensions excluded)
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
py29gd2263:31024238
14376t-chatv2:31237133
c4g48928:30535728
a9j8j154:30646983
962ge761:30841072
dsvsc014:30777825
dsvsc015:30821418
h48ei257:31000450
pythontbext0:30879054
cppperfnew:30980852
pythonait:30973460
dwnewjupyter:31046869
nativerepl1:31134653
pythonrstrctxt:31093868
nativeloc1:31118317
e80f6927:31120813
iacca1:31150324
notype1:31143044
dwcopilot:31158714
h409b430:31177054
c3hdf307:31184662
6074i472:31201624
dwoutputs:31238123
hdaa2157:31222309
copilot_t_ci:31222730
850i5325:31233431
g012b348:31231168
jda6j935:31233686
copilothoveroff:31237049