Skip to content

Freeze/delayed input when editing c_cpp_properties.json #13591

Open
@CR82

Description

@CR82

Environment

  • Windows 10 Enterprise 22H2
  • VS Code Version: 1.99.3
  • C/C++ Extension Version: 1.25.3

Bug Summary and Steps to Reproduce

Bug Summary: When I edit c_cpp_properties.json it freezes, i.e. the next input is often delayed (5 to 15 seconds). This happens after every few keystrokes. Our codebase has around 8000 C/C++ files with 2 million lines of code.

Steps to reproduce:
See summary.

Expected behavior: No input delay when editing c_cpp_properties.json.

Configuration and Logs

{
    "configurations": [
        {
            "name": "Win32",
            "includePath": [
                "${workspaceFolder}/**/Interfaces/**",
                "${workspaceFolder}/**/BxPackaging/**",
                "${workspaceFolder}/**/DeveloperTools/**",
                "${workspaceFolder}/**/RuntimeExtensions/**",
                "${workspaceFolder}/**/Biometrics/**",
                "${workspaceFolder}/**/DataBinding/**",
                "${workspaceFolder}/**/Utility/**"
            ],
            "defines": [
                "WIN32"
            ],
            "windowsSdkVersion": "10.0.22621.0",
            "compilerPath": "cl.exe",
            "cStandard": "c11",
            "cppStandard": "c++11",
            "intelliSenseMode": "windows-msvc-x64",
            "compilerArgs": [
                "/std:c++11"
            ],
            "browse": {
                "path": [
                    "${workspaceFolder}/**/Interfaces/**",
                    "${workspaceFolder}/**/BxPackaging/**",
                    "${workspaceFolder}/**/DeveloperTools/**",
                    "${workspaceFolder}/**/RuntimeExtensions/**",
                    "${workspaceFolder}/**/Biometrics/**",
                    "${workspaceFolder}/**/DataBinding/**",
                    "${workspaceFolder}/**/Utility/**"
                ],
                "limitSymbolsToIncludedHeaders": true
            }
        }
    ],
    "version": 4
}

Other Extensions

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions