Platformio overrides the "compilerPath" to wrong one in "c_cpp_properties.json"

Hello,

I’m trying to set up a project in Windows 10 using the GCC compiler, but every time VS code restarts it overwrites the “compilerPath” to “gcc”.

Here are my setup details:
platformio.ini:

[env]
test_framework = googletest

[env:native]
platform = native

[env:myenv]
lib_deps = 
	https://github.com/bxparks/AceButton.git
	https://github.com/lovyan03/LovyanGFX.git

[env:lolin_d32]
platform = espressif32
board = lolin_d32
framework = arduino
monitor_speed = 115200
test_framework = googletest
lib_deps = 
	adafruit/Adafruit MCP23017 Arduino Library@^2.3.2
	fortyseveneffects/MIDI Library@^5.0.2
	https://github.com/cosmikwolf/Bounce2mcp


c_cpp_properties.json

{
    "configurations": [
        {
            "name": "PlatformIO",
            "includePath": [
                "c:/S/midiFriend/include",
                "c:/S/midiFriend/src",
                ""
            ],
            "browse": {
                "limitSymbolsToIncludedHeaders": true,
                "path": [
                    "c:/S/midiFriend/include",
                    "c:/S/midiFriend/src",
                    ""
                ]
            },
            "defines": [
                "PLATFORMIO=60113",
                ""
            ],
            "compilerPath": "gcc", // !!! It shoud be - C:\msys64\usr\bin\gcc.exe
            "compilerArgs": [
                ""
            ]
        }
    ],
    "version": 4
}

What can be the problem and solution?

Thanks!