Skip to content

Intellisense takes an extremely long time to finish scanning #13562

Closed as not planned
@CendioOssman

Description

@CendioOssman

Environment

  • OS and Version: Fedora 41
  • VS Code Version: code-1.99.3-1744761644.el8.x86_64
  • C/C++ Extension Version: 1.24.5

Bug Summary and Steps to Reproduce

Bug Summary:
Intellisense is almost unusable as it takes an extremely long time to update (at least minutes, possibly longer as I give up and just work without it).

Steps to reproduce:

  1. Open source file in TigerVNC project

Expected behavior:
Intellisense is ready within seconds

Configuration and Logs

<details>
<summary>c_cpp_properties.json</summary>


{
    "configurations": [
        {
            "name": "Linux",
            "includePath": [
                "${workspaceFolder}/**"
            ],
            "defines": [],
            "cStandard": "c17",
            "cppStandard": "c++17"
        }
    ],
    "version": 4
}

</details>

I'm not seeing any C/C++ in the OUTPUT panel.

Other Extensions

No response

Additional context

This is not a big project. It only has 1000 files. Something must be very broken here, but I don't know how to give more clues.

The language server is sometimes using a lot of CPU, but often it is just hovering around 10%. So I don't know what it is doing instead of scanning my files.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions