-
Select Topic AreaBug BodySeems dozens of people having this issue: https://twitter.com/wesbos/status/1628458196967751681 I've been experiencing it for about 3-4 weeks. If I open a quote in VS code, it opens the closing one. Then copilot ignores the closing quote and add it's own. Example: Any fix for this? Very annoying. Apparently also happening with parenthesis. Will add screenshots as I hit them. |
Beta Was this translation helpful? Give feedback.
Replies: 19 comments 34 replies
-
Also with ) , }, ] |
Beta Was this translation helpful? Give feedback.
-
@wesbos Thank you for your feedback, our copilot team has been notified! |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Happens intermittently (given the stochastic nature of these LLMs presumably), so my pattern-matching brain can't learn to anticipate it and correct for it: |
Beta Was this translation helpful? Give feedback.
-
I've also been getting this, an additional case being |
Beta Was this translation helpful? Give feedback.
-
I'm getting extra brackets when I validate a suggestion inside brackets. |
Beta Was this translation helpful? Give feedback.
-
I am also facing this issue. Please fix it if someone solved it. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I use copilot.vim, still seeing this issue. |
Beta Was this translation helpful? Give feedback.
-
I was wrong, this is still an issue. Even the AI knows to remove them. Getting very annoying - any word on this? Are you aware of the bug at least? |
Beta Was this translation helpful? Give feedback.
-
BTW we had @mattrothenberg on our podcast, and while he doesn't work on Copilot any longer, he said hes aware of the bug too. Hopefully we will hear some sort of confirmation from the team soon. |
Beta Was this translation helpful? Give feedback.
-
Just to bump this and confirm this is still an issue -- I'm still seeing this in August, 2023, almost always adding |
Beta Was this translation helpful? Give feedback.
-
+1 Side note: This isn't an issue in WebStorm - so it should be doable in VSCode too! |
Beta Was this translation helpful? Give feedback.
-
Hi, VS Code PM here 👋 @hediet has fixed this issue 🎉 Thanks all 🙏 |
Beta Was this translation helpful? Give feedback.
-
Still seems to be an issue, and maybe reverted? See it with console.log and most methods that need a string |
Beta Was this translation helpful? Give feedback.
-
Still a major ux issue after a year :( |
Beta Was this translation helpful? Give feedback.
-
Isn't there a simple, but imperfect fix? Take the suggestion from copilot, compare it to what's after the cursor, and strip out anything that matches from the end. There will be scenarios in which too much is stripped, especially if the punctuation is already imbalanced, but I think those will be rarer and easier to fix than the super annoying status quo. @wesbos (thank you for fighting the good fight), @hsenag @hediet @isidorn @idan Bonus points: Sometimes copilot also suggests trailing semicolon which is usually not yet typed, so consider that being present if there's a new line or end of file. |
Beta Was this translation helpful? Give feedback.
-
Pre-release 1.152.662 should contain fixes to most if not all of the duplicate bracket/quote bugs reported in this discussion. |
Beta Was this translation helpful? Give feedback.
Pre-release 1.152.662 should contain fixes to most if not all of the duplicate bracket/quote bugs reported in this discussion.