Cursor does this. And in my experience it gets it perfectly right 95% of the time or better. A lot of times I can start editing something and then just keep hitting tab over and over again until the change is complete--including jumping around the file to make edits in various disconnected places. Of course you can do most of this in Copilot too, but you'd expect something that maybe works and needs a lot of cleanup. The cursor autocomplete is, more often than not, EXACTLY what you would have hand crafted, without any deficiencies.
It's also somehow tracking what I look at, because I can look up an API and then return to the original source file and the first autocomplete suggestion is exactly what I was looking up, even though there would be no context to suggest it.
It's really quite magical, and a whole different level from Copilot.