microsoft / vscode-copilot-release

Feedback on GitHub Copilot Chat UX in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat
Creative Commons Attribution 4.0 International
302 stars 28 forks source link

Cannot Save File #1378

Open muellerluke opened 3 weeks ago

muellerluke commented 3 weeks ago

Type: Bug

Whenever attempting to save a file, I keep getting this notification on the bottom that doesn't go away: Saving 'filename.go': Getting code actions from "Go','Github Copilot Chat" (configure). After waiting for a while, the file still does not save. Only encountering this on my Surface Laptop with the Snapdragon X processor

Extension version: 0.17.0 VS Code version: Code 1.91.0 (ea1445cc7016315d0f5728f8e8b12a45dc0a7286, 2024-07-01T18:52:20.204Z) OS version: Windows_NT arm64 10.0.26100 Modes:

System Info |Item|Value| |---|---| |CPUs|Snapdragon(R) X 12-core X1E80100 @ 3.40 GHz (12 x 2976)| |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| |Load (avg)|undefined| |Memory (System)|15.36GB (6.53GB free)| |Process Argv|--crash-reporter-id 1f6d6216-4011-492f-bd92-12b6b21a6a5d| |Screen Reader|no| |VM|0%|
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805:30301674 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 accentitlementsc:30995553 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 jchc7451:31067544 chatpanelt:31048053 dsvsc021:30996838 f3je6385:31013174 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupytercf:31046870 2f103344:31071589 legacy_priority:31082724 ```
eianc commented 3 weeks ago

I have the same issue on GitHub Copilot extension version: v1.213.0

VS Code Version: 1.91.1 (Universal) Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729 Date: 2024-07-09T22:07:54.982Z (2 days ago) Electron: 29.4.0 ElectronBuildId: 9728852 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Darwin x64 23.5.0

macOS: Sosoma version 14.5

In my case I think the issue is caused by ESLint I did the following:

  1. I have disabled GitHub Copilot extension and I still got the issue.
  2. Then I disabled all my extensions from VS code and I did not got the problem anymore
  3. I enabled only GIthub Copilot and everything was fine, I could save the file
  4. I enabled ESLint extension then the issue started to creep up again. I got ESLint version 3.0.10
  5. I disabled again GitHub Copilot extension and I still got the issue, so it's ESLint extension the culprit (I'll raise an issue on their page)
justschen commented 1 week ago

this has been an ongoing issue :( I've been seeing this happen mostly from eslint as @eianc mentioned, but I don't have a reliable repro.

maybe @dbaeumer has a good repro or idea of what might be going on?

dbaeumer commented 4 days ago

This is mostly an issue with eslint itself. There is an issue to help analyze this: https://github.com/microsoft/vscode-eslint/issues/1344 and how to file an issue against ESLint if none of the proposed solutions help.

eianc commented 2 days ago

A colleague of mine just started getting the same issue with a new Mac. When he used Ubuntu or Windows he did not get the issue. It's strange that on other codebases that I'm working on I don't get the issue, only on a monorepo setup with Lerna I'm getting it.