Closed
Description
Type: Bug
I am working in a astro.js project and so I have files that are named [...slug].astro
and similar. When I type git add
or if I type e.g. cat src/pages/
I get completion sugestions that are correct and helpful, but if I pick [...slug].astro
it inserts git add src/pages/[...slug].astro
which when run complains that the file does't exist. What it should do is to insert git add src/pages/\[...slug\].astro
which works.
VS Code version: Code 1.100.1 (Universal) (91fa95b, 2025-05-09T15:43:50.040Z)
OS version: Darwin x64 24.4.0
Modes:
System Info
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600) |
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 webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
Load (avg) | 3, 3, 3 |
Memory (System) | 32.00GB (0.09GB free) |
Process Argv | --crash-reporter-id eebde5f3-c7c2-4a64-9133-86a72e21deb5 |
Screen Reader | no |
VM | 0% |
Extensions (22)
Extension | Author (truncated) | Version |
---|---|---|
astro-vscode | ast | 2.15.4 |
spellright | ban | 3.0.142 |
vscode-intelephense-client | bme | 1.14.4 |
vscode-tailwindcss | bra | 0.14.16 |
solargraph | cas | 0.25.0 |
vscode-css-modules | cli | 0.5.4 |
vscode-eslint | dba | 3.0.10 |
vscode-deno | den | 3.44.2 |
xml | Dot | 2.5.1 |
copilot | Git | 1.317.0 |
copilot-chat | Git | 0.27.0 |
html-tag-wrapper | hwe | 0.2.3 |
color-picker-universal | Jer | 2.6.8 |
deno-std-lib-snippets | lau | 0.0.8 |
remote-ssh | ms- | 0.120.0 |
remote-ssh-edit | ms- | 0.87.0 |
remote-explorer | ms- | 0.5.0 |
html-fmt-vscode | Nik | 0.9.3 |
partial-diff | ryu | 1.4.3 |
svelte-vscode | sve | 109.7.0 |
even-better-toml | tam | 0.21.2 |
vscode-mdx | uni | 1.8.14 |
(2 theme extensions excluded)
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vscaac:30438847
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dwnewjupyter:31046869
pythonrstrctxt:31112756
nativeloc2:31192216
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31222730
e5gg6876:31282496
pythoneinst12:31285622
bgtreat:31268568
4gafe986:31271826
9gig6300:31307012
31787653:31262186
3e8i5726:31271747
996jf627:31283433
pythonrdcb7cf:31303019
usemplatestapi:31297334
0aa6g176:31307128
7bj51361:31289155
747dc170:31275177
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
gendocf:31295004