microsoft / microsoft/vscode

github copilot repeatedly suggest same edit that I rejected

Open
#336,085 0 comments 0 reactions 1 assignee Claimed by @lszomoru View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Type: Feature Request

GitHub Copilot is useful, yet sometimes it repeatedly suggests the same edit again and again that I don't want to apply to my code or, most often, my documents.
I would be happy if we could either entirely reject the edit, or write a rule that suppresses the edit suggestion.

VS Code version: Code 1.137.0 (645f29cc3176500b4b5762ba887cf2a7f0ffdf2c, 2026-09-08T13:43:59-07:00)
OS version: Darwin arm64 25.1.0
Modes:
Connection to 'SSH: ti05' could not be established Canceled
Connection to 'ssh-remote+ti05' could not be established

System Info

|Item|Value|
|---|---|
|CPUs|Apple M2 (8 x 2400)|
|GPU Status|2d_canvas: enabled
GPU0: VENDOR= 0x106b [Google Inc. (Apple)], DEVICE=0x0000 [ANGLE (Apple, ANGLE Metal Renderer: Apple M2, Version 26.1 (Build 25B78))], DRIVER_VENDOR=Apple, DRIVER_VERSION=26.1 *ACTIVE*
Machine model name: Mac
Machine model version: 14.2
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: enabled_on
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off|
|Load (avg)|11, 7, 5|
|Memory (System)|24.00GB (0.13GB free)|
|Process Argv|--crash-reporter-id c8b8ff0f-3b51-4ce1-91c4-713dc2d59ee6|
|Screen Reader|yes|
|VM|0%|

Connection to 'SSH: ti05' could not be established Canceled

Connection to 'ssh-remote+ti05' could not be established
Extensions (54)

Name|Identifier|Author|Version
---|---|---|---
Claude Code for VS Code|anthropic.claude-code|Anthropic|2.1.270
Markdown Checkboxes|bierner.markdown-checkbox|bierner|0.4.0
Markdown Preview Mermaid Support|bierner.markdown-mermaid|bierner|1.32.1
Tailwind CSS IntelliSense|bradlc.vscode-tailwindcss|bradlc|0.16.0
glTF Tools|cesium.gltf-vscode|cesium|2.5.1
JSON formatter|clemenspeters.format-json|ClemensPeters|1.0.3
Dart|dart-code.dart-code|Dart-Code|3.142.0
Docker DX|docker.docker|docker|0.18.0
Git History|donjayamanne.githistory|donjayamanne|0.6.20
XML Tools|dotjoshjohnson.xml|DotJoshJohnson|2.5.1
ES7+ React/Redux/React-Native snippets|dsznajder.es7-react-js-snippets|dsznajder|4.4.3
GitLens — Git supercharged|eamodio.gitlens|eamodio|19.1.0
GitHub Codespaces|github.codespaces|GitHub|1.18.16
GitHub Pull Requests|github.vscode-pull-request-github|GitHub|0.166.0
JSON Flow - Graph Explorer|imgildev.vscode-json-flow|imgildev|2.9.0
solidity|juanblanco.solidity|JuanBlanco|0.0.187
Word Counter|ludwig.wordcounter|Ludwig|0.0.1
MagicPython|magicstack.magicpython|magicstack|1.1.0
Markdown Converter|manuth.markdown-converter|manuth|5.2.1
Citation Picker for Zotero|mblode.zotero|mblode|0.1.11
Markdown Shortcuts|mdickin.markdown-shortcuts|mdickin|0.12.0
Rainbow CSV|mechatroner.rainbow-csv|mechatroner|3.24.1
JSON|meezilla.json|Meezilla|0.1.2
Container Tools|ms-azuretools.vscode-containers|ms-azuretools|2.5.0
Docker|ms-azuretools.vscode-docker|ms-azuretools|2.0.0
Japanese Language Pack for Visual Studio Code|ms-ceintl.vscode-language-pack-ja|MS-CEINTL|1.131.2026090407
.NET Install Tool|ms-dotnettools.vscode-dotnet-runtime|ms-dotnettools|3.1.0
Python Debugger|ms-python.debugpy|ms-python|2026.6.0
isort|ms-python.isort|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
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 Slide Show|ms-toolsai.vscode-jupyter-slideshow|ms-toolsai|0.1.6
Dev Containers|ms-vscode-remote.remote-containers|ms-vscode-remote|0.469.0
Remote - SSH|ms-vscode-remote.remote-ssh|ms-vscode-remote|0.128.0
Remote - SSH: Editing Configuration Files|ms-vscode-remote.remote-ssh-edit|ms-vscode-remote|0.87.0
C/C++ DevTools|ms-vscode.cpp-devtools|ms-vscode|0.6.18
C/C++|ms-vscode.cpptools|ms-vscode|1.34.4
Remote Explorer|ms-vscode.remote-explorer|ms-vscode|0.5.0
Remote - Tunnels|ms-vscode.remote-server|ms-vscode|1.5.3
JavaScript and TypeScript Nightly|ms-vscode.vscode-typescript-next|ms-vscode|6.0.20260416
Markdown Checkbox|pkief.markdown-checkbox|PKief|1.10.0
Prisma|prisma.prisma|Prisma|31.12.8
Zotero integrated portable note|psmuler.citezoid|psmuler|0.1.11
Live Server|ritwickdey.liveserver|ritwickdey|5.7.10
ReferenCite|thild.referencite|thild|0.0.1
vscode-pdf|tomoki1207.pdf|tomoki1207|1.2.2
Vue (Official)|vue.volar|Vue|3.3.11
Zotero Cite|xing.zotero-cite|XING|0.9.16
Markdown PDF|yzane.markdown-pdf|yzane|2.2.0

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
envsactivate1:31551504
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31572277
c3h7c220:31478652
cp_cls_t_1081:31454832
conptydll_true:31498968
e9c30283:31461165
c9b86496:31447327
capico_axe_098a3278:31582664
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
i2gc6536:31499202
52612955:31516516
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
jh5f2457_c:31540921
jbcp_cls_pctr_t:31531130
cp_intellij_t_nes:31548657
jf4hg949:31526829
ahp-both-windows:31556933
ihg5j128:31534457
7g2b5551:31542111
sandbox-ui-on-2:31543161
nes-ex-cf-euporie-03:31542868
enable_editor_pane_layout:31569726
allow-none:31555437
36h42362:31564511
c7c27ce7:31554789
1h923230:31564177
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
0c1h4866:31566224
session-archive:31558132
5b8j3302:31564601
mangle-name-treatment:31572634
signed-out-control:31581177
intellij_nes_preview_t:31580086
multiv2:31574985
2bfb8b39:31576696
soft:31581111
aw-autom-off:31582551
revealsession_treatment_7ed7e840:31582194
permission_prompt_treatment:1332566
ccr_pr_nudge_auto_review:1319472
vsc_wsm_t:1340632
jidc7660:1370295
cfee5631:1379228
3aced641:1389836

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.