I installed the latest version of the Remote-SSH extension. When trying to connect or even change the settings of the extension in vs code or even uninstall it I got the error below:
Cannot read properties of undefined (reading 'after')
I saw some solutions to change the pre-release versions or setting "Listen on socket" in settings but in my case, I face the error even when I want to uninstall or change the settings.
2
Answers
try to disable ssh remote extension, close vscode completely and go to the vscode extension folder.
Make a copy of the extension to another place as backup and after that delete it.
Clear your cache, type Windows + r, write "%tmp%, clear everything and try again.