Intellisense configuration error: Cannot read properties of null (reading 'replace') #13220
Labels
bug
fixed
Check the Milestone for the release in which the fix is or will be available.
Language Service
quick fix
regression
A bug that didn't exist in a previous release
Milestone
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
I installed MinGW on my machine and switched to its g++ compiler (not mingw-w64, the older one). Later, I decided to switch back to cl, and proceeded to change my intellisense configuration but vscode reported an error saying
command 'c/c++: select intellisense configuration' resulted in an error. Cannot read properties of null (reading 'replace')
. Ever since, trying to change my intellisense compiler or getting the template for project specific intellisense configuration(c_cpp_properties.json) alternates randomly between resulting in this error and doing nothing. The only thing that happens when I do so is settings.json being created with "C_Cpp.default.compilerPath" set to whatever I had previously set it to.Steps to reproduce:
Expected behavior:
The IDE should switch back to cl and give the template for c_cpp_properties.json as normal
Configuration and Logs
Other Extensions
The issue stays after disabling all other extensions except c/c++ extension pack and c/c++ themes
Additional context
At a point around the time the bug started, I changed the default compiler path in extension settings.json to the x64 version despite the x86 version being chosen by default. This might have contributed to it
The text was updated successfully, but these errors were encountered: