Troubleshooting Visual Studio Code: language client undefined

Recently I ran into the following problem when editing Powershell scripts using Visual Studio Code ;

vscode_error1

First I tried to remove the specific extension. Go to the extenstion tab and check for installed extensions using @installed :

vscode_error4

Click the action/config wheel to uninstall the specific extension and reload and reinstall it. In my case that wasn’t the solution. I found out that the specific extension wasn’t completely removed. My solution was after removing the extension in Visual Studio Code, checking for any leftovers in %userprofile%\.vscode\extensions :

vscode_error2

After deleting the specific folder and reinstalling the extension the error was gone!

vscode_error3

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.