Sometimes programmers annoy me
Don’t get me wrong, I love VS Code and the fact that so many people devote a lot of their time making it better and free!
But sometimes, little gremlins show up to bug — pun intended — the hell of me!
Some time ago I installed the GitHub Codespaces extension, then uninstalled it for whatever reason. I didn’t notice anything wrong with Code for a while.
Then one morning when I started Code, these two little popup messages began showing up:
I figured that it was due to some remnants of Codespaces so I re-installed then uninstalled them.
Same problem.
I hate unexplainable glitches!
I then proceeded to try to hunt down the underlying issue as usual, Googling and investigating log files. I came up with an entry in:
%AppData%\Roaming\Code\logs\<timestamp>\exthost1\exthost.log
[exthost] [error] Error: Extension ‘ms-vsonline.vsonline’ CANNOT use API proposal: resolvers. Its package.json#enabledApiProposals-property declares: [] but NOT resolvers.
Back to Googling…
Nothing useful for while…
Then recently I stumbled across this thread in GitHub:
https://github.com/microsoft/vscode/issues/144971
One developer mentions this:
That error message is coming from the old, deprecated Codespaces extension. You can uninstall it.
To which another replied :
The
ms-vsonline.vsonline
extension doesn't show in UI. This command resolved the issue for me:
code --uninstall-extension ms-vsonline.vsonline
I promptly did just that and Voilà! Gremlins gone!
Just wasted another couple of hours debugging someone else’s stuff.
The moral of this story is, again: although many developers do extensively test their stuff, most don’t. To them this is a corner case. To others, and me, it’s a f**g annoyance!
Happy coding!