Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Copilot is disabled but still making suggestions #210666

Open
okaybenji opened this issue Apr 18, 2024 · 6 comments
Open

Github Copilot is disabled but still making suggestions #210666

okaybenji opened this issue Apr 18, 2024 · 6 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@okaybenji
Copy link

Type: Bug

I have the Github Copilot extension disabled, but it is still making suggestions. It keeps making suggestions when I am trying to add tabs to my code, so rather than adding a tab, it adds the suggestion I don't want. There's no easy way for me to add a tab. If I delete the inserted suggestion, the suggestion just comes back. I wouldn't mind so much if I could change the keybind for accepting a suggestion to something that isn't already being used, but I don't know how to do that. But also, if Copilot is disabled, it shouldn't be working!

VS Code version: Code 1.88.1 (Universal) (e170252, 2024-04-10T17:42:52.765Z)
OS version: Darwin arm64 22.6.0
Modes:

System Info
Item Value
CPUs Apple M2 Max (12 x 24)
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
Load (avg) 5, 5, 4
Memory (System) 32.00GB (0.06GB free)
Process Argv --crash-reporter-id aeacc878-4058-45fb-af1e-4f1ab1085a0b
Screen Reader no
VM 0%
Extensions (40)
Extension Author (truncated) Version
gitignore cod 0.9.0
doxdocgen csc 1.4.0
vscode-eslint dba 2.4.4
vscode-html-css ecm 2.0.9
prettier-vscode esb 10.4.0
copilot-chat Git 0.14.1
vscode-graphql Gra 0.9.3
vscode-graphql-syntax Gra 1.3.5
better-cpp-syntax jef 1.17.2
cmake-language-support-vscode jos 0.0.9
node-module-intellisense lei 1.5.0
vscode-docker ms- 1.29.0
csdevkit ms- 1.4.29
csharp ms- 2.23.15
vscode-dotnet-runtime ms- 2.0.3
vscodeintellicode-csharp ms- 2.0.25
remote-containers ms- 0.354.0
remote-ssh ms- 0.110.1
remote-ssh-edit ms- 0.86.0
remote-wsl ms- 0.88.0
cmake-tools ms- 1.17.17
cpptools ms- 1.19.9
cpptools-extension-pack ms- 1.3.0
live-server ms- 0.4.13
mono-debug ms- 0.16.3
remote-explorer ms- 0.4.3
vsliveshare ms- 1.0.5918
vetur oct 0.37.3
prisma Pri 5.12.1
vscode-unitymeta PTD 0.0.7
vscode-commons red 0.0.6
vscode-yaml red 1.14.0
cmake twx 0.0.17
unity-debug Uni 3.0.2
vstuc vis 1.0.1
volar Vue 2.0.8
pretty-ts-errors Yoa 0.5.4
propertylist zho 0.0.2
material-theme zhu 3.17.0
html-css-class-completion Zig 1.20.0

(3 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:31000449
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
d34g3935:30971562
fegfb526:30981948
bg6jg535:30979843
ccp1r6:30993540
dsvsc020:30976470
pythonait:31006305
gee8j676:31009558
dsvsc021:30996838
gd77d436:30999572
01bff139:31013167

@jrieken jrieken added the info-needed Issue requires more information from poster label Apr 18, 2024
@jrieken
Copy link
Member

jrieken commented Apr 18, 2024

Can you please share your settings? It might be that you getting inline completions from another source, like IntelliSense or snippets

@okaybenji
Copy link
Author

If you can please let me know which settings you want to see I'll be happy to share them. I'm including a screenshot showing the extension is disabled and a screenshot showing what the suggestions look like, which I think should clearly show that they are not IntelliSense nor Snippets.

Screenshot 2024-04-18 at 12 15 12 PM Screenshot 2024-04-18 at 12 13 23 PM

@Hackathon757
Copy link

I have also been having this problem for a while and found the solution. If you open settings in VS, there is an option named Inline Suggest under Text Editor: Suggestions. You may want to look at the surrounding options as well, but that's how I was able to fix it.

@okaybenji
Copy link
Author

I have also been having this problem for a while and found the solution. If you open settings in VS, there is an option named Inline Suggest under Text Editor: Suggestions. You may want to look at the surrounding options as well, but that's how I was able to fix it.

I appreciate the reply, but I think this must be a different issue. I tested changing the Quick Suggestions Delay, for instance, from 10 to 2000ms. Intellisense became delayed by 2 seconds, but the suggestions like if (gameObject != null) {} above still appeared instantly.

@jrieken
Copy link
Member

jrieken commented Apr 23, 2024

It looks like the issue is caused by one of your installed extensions. All extensions execute together on a single nodejs process, so in order to narrow down the possible problematic extension, please try the following:

  • run F1 > Help: Start Extension Bisect
  • (this will restart VS Code with half of your extensions disabled)
  • try to do the steps which reproduce the problem
  • if the problem reproduces, click "This is bad" (this narrows down the problematic extension to the half which was enabled)
  • if the problem does not reproduce, click "Good now" (this narrows down the problematic extension to the half which was disabled)
  • these steps will repeat until the problematic extension is found
initial step final
image image image

@IndySeh
Copy link

IndySeh commented Apr 27, 2024

@jrieken Thanks mate! worked for! IntelliCode Completions Extention was causing issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

4 participants