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! |
|
@Simple2Sample Are you experiencing this with multiple function comments? |
|
I am experience this as well. Every single suggestion. Most suggestions are just repeating what I already provided. |
|
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? |
|
I experienced it as well. Disabling almost all extensions in VS Code worked for me. |
|
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. |
|
Same here. VSCode updated and Copilot reinstalled. I tried disabling most other extensions as well. |
|
Yep, brand new copilot user who just signed up for the trial and seems to be happening to me too |
|
@daniti and @arshbot, could you answer the following questions:
Thanks! |
|
I'm having the same problem here. Latest version of VSCode, latest version of co-pilot.
|
|
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). |
|
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. |
|
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. |
|
I'm trying Copilot, and facing the same problem. It shows only one line at the time. |
|
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. |
|
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.
|
|
Everyone complaining about this happening in VSCode, I have this in JetBrains Rider. Though the same happens in VSCode for me too. |
|
FYI, it's still happening (nvim) |
|
Still happening on out of the box Copilot for Business out-of-box-bubblesort.mp4 |
|
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. |
|
Seems like they don't really care about this problem at all |
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 |
|
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:
***@***.***>
|
|
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 |
|
I still have this issue. Please reopen the discussion because the problem is not solved yet. |








Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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
All reactions