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

auto-complete is terrible #7592

Open
alexezh opened this issue Sep 22, 2024 · 8 comments
Open

auto-complete is terrible #7592

alexezh opened this issue Sep 22, 2024 · 8 comments
Assignees

Comments

@alexezh
Copy link

alexezh commented Sep 22, 2024

Type: Bug

auto-complete is annoying. Empty line, I want to add two tabs. Complete suggests some wrong code. Click esc, tab. It suggests the same again. Another esc..

Extension version: 2.45.25
VS Code version: Code 1.93.0 (Universal) (4849ca9bdf9666755eb463db297b69e5385090e3, 2024-09-04T13:02:38.431Z)
OS version: Darwin arm64 23.6.0
Modes:

System Info
Item Value
CPUs Apple M2 Max (12 x 2400)
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, 2, 2
Memory (System) 64.00GB (3.06GB free)
Process Argv --crash-reporter-id 0a732980-b20c-46f8-b997-5ac8d8ce8f36
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
01bff139:31013167
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
2f103344:31071589
impr_priority:31102340
nativerepl1:31104043
refactort:31108082
pythonrstrctxt:31112756
wkspc-onlycs-c:31111717
wkspc-ranged-c:31125598
fje88620:31121564
aajjf12562:31125793

@dibarbet
Copy link
Member

@alexezh would you be able to provide a gif of the behavior you're seeing? There could be multiple extensions involved depending on where the auto complete is coming from

@dibarbet dibarbet self-assigned this Sep 24, 2024
@alexezh
Copy link
Author

alexezh commented Sep 24, 2024 via email

@dibarbet
Copy link
Member

@alexezh generally completion from the C# extension shouldn't be active until you start typing. I'm wondering if there is some other extension providing completions. Would you mind sharing either a gif or a screenshot of the suggestion? And what extensions you have installed?

@oakad
Copy link

oakad commented Dec 4, 2024

It happens all the time now.

Here I moved to new line. If I were to press <tab> the return statement will get inserted into the buffer. I can press <esc> to make it go, but it immediately appears again (see below).
Nothing in the codebase should imply that I ever wanted to return null, of all things. :-)

Image
Image

@oakad
Copy link

oakad commented Dec 4, 2024

The entire issue is coming from "IntelliCode for C# Dev Kit" extension. It is really bad, making the editor totally unusable - every attempt at indentation with tabs spills out some bogus suggestion.

Below is a small excerpt from the log - suddenly, the escape is my most pressed button.

The obvious solution is to disable the extension for now.

[WLC] [CompletionProvider] (#7687) Recieved cancellation event, ran for 124.0084171295166
[WLC] [CompletionProvider] (#7688) Recieved cancellation event, ran for 111.14845895767212
[WLC] [CompletionProvider] (#7689) Current line with candidate:
sortChanged = true;
[WLC] [CompletionProvider] (#7691) Current line with candidate:

[WLC] [CompletionProvider] (#7692) Current line with candidate:
break;
[WLC] [CompletionProvider] (#7693) Recieved cancellation event, ran for 74.84245800971985

@dibarbet
Copy link
Member

dibarbet commented Dec 4, 2024

@oakad thanks - you should be able to disable or uninstall the intellicode extension if it's causing issues (C#/DevKit do not require it in order to function).

Issues with that extension would be tracked here - https://github.com/MicrosoftDocs/intellicode/issues

@oakad
Copy link

oakad commented Dec 5, 2024

It was kind of tricky to locate the correct GitHub project for intellicode extension. :-)

@dibarbet
Copy link
Member

dibarbet commented Dec 5, 2024

It was kind of tricky to locate the correct GitHub project for intellicode extension. :-)

Agreed 😆 - easiest way I've found is the issues link on the marketplace page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants