CoPilot not suggesting multiple lines of code. #40522
Replies: 184 comments 197 replies
-
Hi @Simple2Sample , please check that you are using the latest version of VSCode and Copilot. If so, restart both apps and see if that helps. Thanks! |
Beta Was this translation helpful? Give feedback.
-
@Simple2Sample Are you experiencing this with multiple function comments? |
Beta Was this translation helpful? Give feedback.
-
I am experience this as well. Every single suggestion. Most suggestions are just repeating what I already provided. |
Beta Was this translation helpful? Give feedback.
-
I'm experiencing this as well - it's really painful!
|
Beta Was this translation helpful? Give feedback.
-
Hi everyone! Could you provide a few more details on how this can be replicated? Sample project, other tabs you might have open, if it happens for specifically one language? |
Beta Was this translation helpful? Give feedback.
-
I experienced it as well. Disabling almost all extensions in VS Code worked for me. |
Beta Was this translation helpful? Give feedback.
-
Hi @Simple2Sample @brtang63 @sammcj @pfpt-andrew We're sorry that you're facing this issue using Copilot. I've reported this issue to the product team and will update you all once I hear back from them. |
Beta Was this translation helpful? Give feedback.
-
Same here. VSCode updated and Copilot reinstalled. I tried disabling most other extensions as well. |
Beta Was this translation helpful? Give feedback.
-
Yep, brand new copilot user who just signed up for the trial and seems to be happening to me too |
Beta Was this translation helpful? Give feedback.
-
@daniti and @arshbot, could you answer the following questions:
Thanks! |
Beta Was this translation helpful? Give feedback.
-
I'm having the same problem here. Latest version of VSCode, latest version of co-pilot.
|
Beta Was this translation helpful? Give feedback.
-
It is happening to me to. I installed both vscode & copilot just yesterday (everything is fresh and no other extensions are used except default ones). |
Beta Was this translation helpful? Give feedback.
-
Also happening with a fresh install of the neovim plugin here: https://github.com/github/copilot.vim There doesn't seem to be a setting for this, so I assume this is a bug rather than user error. |
Beta Was this translation helpful? Give feedback.
-
Brand new Copilot user and running into the same issue. Could definitely be me that's the problem since I'm first starting out, but here's a little more info if it helps If I start writing If I hit tab and let it autocomplete, thats the end of it. Then hit enter and go to a new line, it will again suggest code for only that specific line And this will go on line by line, suggesting one at a time, and needing me to press enter after each one. If however, I complete the first line, then add a closing bracket, move my cursor to the middle and then press enter (Basically putting my cursor in the meat of the function, it will suggest the entire thing Hopefully that helps, or someone figures what I'm doing wrong, since I've seen people not having to do this to get complete function suggestions. |
Beta Was this translation helpful? Give feedback.
-
I'm trying Copilot, and facing the same problem. It shows only one line at the time. |
Beta Was this translation helpful? Give feedback.
-
It's still happening to me :/ |
Beta Was this translation helpful? Give feedback.
-
Still happening to me. It is very frustrating. On the bright side, we will soon be able to sing a 2 year birthday party to this issue! |
Beta Was this translation helpful? Give feedback.
-
I got a temporary fix, but it's still happening to me :/ |
Beta Was this translation helpful? Give feedback.
-
I wanted to share that I had the same problem intermittently. I thought it might have something to do with formatting, so I used the VS Code option to format my document, and it began to suggest multi-line suggestions again. |
Beta Was this translation helpful? Give feedback.
-
Hi djoodew, what do you mean by use VS Code to format your document?
Thanks!
Daniel
This message contains information which may be confidential and privileged. Unless you are the intended recipient (or authorized to receive this message for the intended recipient), you may not use, copy, disseminate or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail, and delete the message. Thank you very much.
|
Beta Was this translation helpful? Give feedback.
-
Everyone complaining about this happening in VSCode, I have this in JetBrains Rider. Though the same happens in VSCode for me too. |
Beta Was this translation helpful? Give feedback.
-
FYI, it's still happening (nvim) |
Beta Was this translation helpful? Give feedback.
-
Still happening on out of the box Copilot for Business out-of-box-bubblesort.mp4 |
Beta Was this translation helpful? Give feedback.
-
Copilot has completely been destroyed. It used to do autocomplete usefull, basically only thing I use it for. Now it's not even about 1 line, its about the length of the 1 line even, if the line exceeds X characters, it won't even finish 1 line of code for you. Useless. |
Beta Was this translation helpful? Give feedback.
-
Seems like they don't really care about this problem at all |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Wow this was just closed as "outdated". Does 190 replies look outdated to you? Egregiously idiotic |
Beta Was this translation helpful? Give feedback.
-
This issue isnt "outdated" at all.
Em sáb., 2 de nov. de 2024 13:00, Travis ***@***.***>
escreveu:
… Wow this was just closed as "outdated". Does 190 replies look outdated to
you? Egregiously idiotic
—
Reply to this email directly, view it on GitHub
<#40522 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHEUMO3NU56Z5ZIX3NZYGDZ6TZIJAVCNFSM6AAAAAASQQD5HOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMJTGAYTQMQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Fine I'll reopen. The issue is that people here are mostly talking about Copilot Chat and its Copilot feature and not the original extension. Since the original extension is essentially deprecated at this point, I don't see the point of keeping this discussion alive |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
So whenever I use CoPilot, it seems to no longer suggest multiple lines of code. It only suggests one line at a time regardless of how relevant having multiple lines of code is for the suggestion. It's been a while since I used CoPilot, but I remember this being a thing. I'm using VS Code and programming in Javascript and using Prettier.

I see that someone else has posted a similar bug, but it's half a year old https://github.com/orgs/community/discussions/13303
Beta Was this translation helpful? Give feedback.
All reactions