Copilot does not learn from user-edited terminal commands before execution
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.4k
- PR merge metrics
- PR metrics pending
Description
Type: Feature Request
When Copilot suggests a terminal command (e.g., via the inline chat or command palette), it presents the command and allows the user to edit it before running. However, after the user modifies the command and executes it, Copilot does not seem to record or learn from that modification. As a result, if the original suggested command contains a recurring error (e.g., use 2>&1 in nushell, or use \ in string), the user must manually apply the same correction every single time the command is suggested again in similar contexts. This defeats the purpose of adaptive assistance and creates repetitive, tedious work.
Copilot should observe the user’s edits to its suggested commands and use that feedback to adjust future suggestions—at least for the current session or project context. Ideally, it could remember common corrections (e.g., remove the trailing 2>&1, or use \\ in string) and proactively incorporate them into subsequent command proposals.
VS Code version: Code 1.132.0 (df53daabb18cd157bdb08c7f01c34df936cf12f4, 2026-08-04T15:30:20Z)
OS version: Windows_NT x64 10.0.26200
Modes:
System Info
|Item|Value|
|---|---|
|CPUs|AMD Ryzen 9 6900HS with Radeon Graphics (16 x 3294)|
|GPU Status|2d_canvas: enabled
GPU0: VENDOR= 0x1002, DEVICE=0x1681 [AMD Radeon(TM) Graphics], DRIVER_VENDOR=AMD, DRIVER_VERSION=31.0.12024.2005 *ACTIVE*
GPU1: VENDOR= 0x10de, DEVICE=0x24a0 [NVIDIA GeForce RTX 3070 Ti Laptop GPU], DRIVER_VERSION=32.0.16.1062
GPU2: VENDOR= 0x1002, DEVICE=0x1681 [AMD Radeon(TM) Graphics], DRIVER_VERSION=31.0.12024.2005
GPU3: VENDOR= 0x1002, DEVICE=0x1681 [AMD Radeon(TM) Graphics], DRIVER_VERSION=31.0.12024.2005
GPU4: VENDOR= 0x1002, DEVICE=0x1681 [AMD Radeon(TM) Graphics], DRIVER_VERSION=31.0.12024.2005
GPU5: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8972
Machine model name:
Machine model version:
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
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|63.26GB (25.09GB free)|
|Process Argv|--crash-reporter-id fe44bb6a-e0bf-4a04-a822-8a4b29803340|
|Screen Reader|no|
|VM|0%|
Extensions (66)
Name|Identifier|Author|Version
---|---|---|---
Include Autocomplete|ajshort.include-autocomplete|ajshort|0.0.4
npm Intellisense|christian-kohler.npm-intellisense|christian-kohler|1.4.5
Path Intellisense|christian-kohler.path-intellisense|christian-kohler|2.10.0
Doxygen Documentation Generator|cschlosser.doxdocgen|cschlosser|1.4.0
Office Viewer|cweijan.vscode-office|cweijan|4.1.8
C/C++ Project Generator|danielpinto8zz6.c-cpp-project-generator|danielpinto8zz6|1.2.20
markdownlint|davidanson.vscode-markdownlint|DavidAnson|0.62.1
ESLint|dbaeumer.vscode-eslint|dbaeumer|3.0.34
Code Runner|formulahendry.code-runner|formulahendry|0.12.2
OpenCL|galarius.vscode-opencl|galarius|0.10.0
gguf editor|gguf.gguf-editor|gguf|0.1.5
GitHub 拉取请求|github.vscode-pull-request-github|GitHub|0.162.0
Spreadsheet Viewer|grapecity.gc-excelviewer|GrapeCity|4.2.66
LaTeX Workshop|james-yu.latex-workshop|James-Yu|10.17.1
Better C++ Syntax|jeff-hykin.better-cpp-syntax|jeff-hykin|1.27.1
Nix IDE|jnoortheen.nix-ide|jnoortheen|0.5.13
Lean 4|leanprover.lean4|leanprover|0.0.239
filesize|mkxml.vscode-filesize|mkxml|3.2.2
Container Tools|ms-azuretools.vscode-containers|ms-azuretools|2.4.5
Chinese (Simplified) (简体中文) Language Pack for Visual Studio Code|ms-ceintl.vscode-language-pack-zh-hans|MS-CEINTL|1.131.2026072717
Black Formatter|ms-python.black-formatter|ms-python|2026.6.0
Python Debugger|ms-python.debugpy|ms-python|2026.6.0
Python|ms-python.python|ms-python|2026.4.0
Pylance|ms-python.vscode-pylance|ms-python|2026.3.1
Python Environments|ms-python.vscode-python-envs|ms-python|1.36.0
Data Wrangler|ms-toolsai.datawrangler|ms-toolsai|1.24.2
Jupyter|ms-toolsai.jupyter|ms-toolsai|2025.9.1
Jupyter Keymap|ms-toolsai.jupyter-keymap|ms-toolsai|1.1.2
Jupyter Notebook Renderers|ms-toolsai.jupyter-renderers|ms-toolsai|1.3.0
Jupyter Cell Tags|ms-toolsai.vscode-jupyter-cell-tags|ms-toolsai|0.1.9
Jupyter PowerToys|ms-toolsai.vscode-jupyter-powertoys|ms-toolsai|0.1.1
Jupyter Slide Show|ms-toolsai.vscode-jupyter-slideshow|ms-toolsai|0.1.6
开发容器|ms-vscode-remote.remote-containers|ms-vscode-remote|0.466.0
Remote - SSH|ms-vscode-remote.remote-ssh|ms-vscode-remote|0.124.0
Remote - SSH: Editing Configuration Files|ms-vscode-remote.remote-ssh-edit|ms-vscode-remote|0.87.0
WSL|ms-vscode-remote.remote-wsl|ms-vscode-remote|0.104.3
CMake Tools|ms-vscode.cmake-tools|ms-vscode|1.23.52
C/C++ DevTools|ms-vscode.cpp-devtools|ms-vscode|0.5.13
C/C++|ms-vscode.cpptools|ms-vscode|1.32.2
C/C++ Extension Pack|ms-vscode.cpptools-extension-pack|ms-vscode|1.5.1
十六进制编辑器|ms-vscode.hexeditor|ms-vscode|1.11.1
Live Preview|ms-vscode.live-server|ms-vscode|0.4.19
PowerShell|ms-vscode.powershell|ms-vscode|2025.4.0
远程资源管理器|ms-vscode.remote-explorer|ms-vscode|0.5.0
Chat Customizations Evaluations|ms-vscode.vscode-chat-customizations-evaluations|ms-vscode|1.0.8
Live Share|ms-vsliveshare.vsliveshare|ms-vsliveshare|1.1.122
SFTP|natizyskunk.sftp|Natizyskunk|1.16.3
Language Support for Java(TM) by Red Hat|redhat.java|redhat|1.55.0
Markdown 增强预览|shd101wyy.markdown-preview-enhanced|shd101wyy|0.8.30
Guides|spywhere.guides|spywhere|0.9.3
Code Spell Checker|streetsidesoftware.code-spell-checker|streetsidesoftware|4.5.6
Even Better TOML|tamasfe.even-better-toml|tamasfe|0.21.2
vscode-nushell-lang|thenuprojectcontributors.vscode-nushell-lang|TheNuProjectContributors|2.0.5
DeepSeek V4 for Copilot Chat|vizards.deepseek-v4-for-copilot|Vizards|0.7.0
GitHub Copilot modernization|vscjava.migrate-java-to-azure|vscjava|1.22.0
Gradle for Java|vscjava.vscode-gradle|vscjava|3.18.0
Debugger for Java|vscjava.vscode-java-debug|vscjava|0.59.0
Project Manager for Java|vscjava.vscode-java-dependency|vscjava|0.27.6
Extension Pack for Java|vscjava.vscode-java-pack|vscjava|0.31.1
Test Runner for Java|vscjava.vscode-java-test|vscjava|0.46.0
Maven for Java|vscjava.vscode-maven|vscjava|0.45.3
vscode-icons|vscode-icons-team.vscode-icons|vscode-icons-team|12.19.0
Import Cost|wix.vscode-import-cost|wix|3.3.0
Markdown PDF|yzane.markdown-pdf|yzane|2.2.0
Markdown All in One|yzhang.markdown-all-in-one|yzhang|3.6.3
json|zainchen.json|ZainChen|2.0.2
A/B Experiments
```
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
82j33506:31327384
envsactivate1:31551504
478i5457:31544283
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
cp_cls_c_1081:31454833
conptydll_true:31498968
e9c30283:31461165
test_treatment2:31471001
46204921:31447328
capico_a_098a3278:31555650
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
nes-extended-on:31455476
chat:31457767
8hig5102:31480529
89g7j272:31518289
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
ec1eg703:31520046
ddid_t:31478206
hmra_i5g22:31518061
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
cdk-lw-on:31524445
f9bf7985:31543584
a1ije391_t:31540920
hgf2d445:31529595
jbcp_cls_pctr_t:31531130
61138546:31518536
cp_intellij_t_nes:31548657
jf4hg949:31526829
nes-curr-leftover-1500:31538366
ahp-both-windows:31556933
h561g132:31533256
sessions_5:31532894
ihg5j128:31534457
f412h606:31551416
9gg7f176:31542112
5fe6f778:31554331
allow-none:31555437
fd5dc207:31551400
c7c27ce7:31554789
nes-gb3-nf-5k:31554345
8hc4g144:31558143
0dg73464:31554319
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
switchtoauto:31559321
vrbsty_fls:31561059
session-archive:31558132
```
Contributor guide
Assessment
This issue has not been assessed yet.