Showing content from https://github.com/microsoft/vscode-cpptools/issues/5049 below:
Unable to start the C/C++ language server [Error: TypeError: vscode.workspace.workspaceFolders is not iterable] · Issue #5049 · microsoft/vscode-cpptools · GitHub
Describe the bug
- OS and Version: Windows 10 Home 1909
- VS Code Version: 1.42.1 (user setup)
- C/C++ Extension Version: 0.27.0
- Other extensions you installed (and if the issue persists after disabling them): ms-python.python, ms-vscode-remote.remote-wsl
- A clear and concise description of what the bug is: A similar issue appeared two months ago, and last week I uninstalled all the extensions and uninstalled the VSCode, and then reinstalled them, and it became fine, until today this error appeared again.
To Reproduce
- Wake up in the morning
- Open a .cpp file in my personal directory with VSCode
- See error
Screenshots
Unable to start the C/C++ language server. IntelliSense features will be disabled. Error: TypeError: vscode.workspace.workspaceFolders is not iterable
Additional context
This problem can be solved by uninstalling the extension and reinstall a 0.26.3 version
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4