Skip to content

Intellisense inifinitely tries to index folders that don't exist #13366

@Terbold

Description

@Terbold

Environment

  • OS and Version: Macbook Pro Sonoma 14.0
  • VS Code Version: 1.98.1
  • C/C++ Extension Version: 1.24.2
  • If using SSH remote, specify OS of remote machine: N/A

Bug Summary and Steps to Reproduce

Bug Summary:
Latest Intellisense version is looping trying to index folders that don't exist. Since the latest update, anytime I make a change to any C++ file and intellisense needs to rescan, it gets stuck in a loop for about 5-10 minutes trying to index a bunch of folders that do not exist and is barely functional. Reverting to last stable release is required.

Expected behavior:
Before the latest prerelease update, these errors did not appear and intellisense runs smoothly.

This log repeats every 1-2 seconds until the service gives up I guess
intellisense_log.txt

Configuration and Logs

config for unreal engine project:
{
    "configurations": [
        {
            "name": "rubidium_roomsEditor Editor Mac Development (rubidium_rooms)",
            "compilerPath": "/usr/bin/clang++",
            "compilerArgs": [
                "-isysroot",
                "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"
            ],
            "macFrameworkPath": [
                "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks"
            ],
            "cStandard": "c17",
            "cppStandard": "c++20",
            "intelliSenseMode": "clang-x64",
            "includePath": [
                "${workspaceFolder}/Intermediate/**",
                "${workspaceFolder}/Plugins/**",
                "${workspaceFolder}/Source/**"
            ],
            "compileCommands": [
                "/Users/jarroda/Documents/Unreal Projects/rubidium_rooms/.vscode/compileCommands_rubidium_rooms.json"
            ]
        },
        {
            "name": "Mac",
            "compilerPath": "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++",
            "compilerArgs": [
                "-isysroot",
                "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"
            ],
            "macFrameworkPath": [
                "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks"
            ],
            "cStandard": "c17",
            "cppStandard": "c++20",
            "intelliSenseMode": "clang-x64",
            "includePath": [
                "${workspaceFolder}/Intermediate/**",
                "${workspaceFolder}/Plugins/**",
                "${workspaceFolder}/Source/**"
            ],
            "compileCommands": [
                "/Users/jarroda/Documents/Unreal Projects/rubidium_rooms/.vscode/compileCommands_Default.json"
            ]
        }
    ],
    "version": 4
}

config for unreal engine source:
{
    "configurations": [
        {
            "name": "rubidium_roomsEditor Editor Mac Development (rubidium_rooms)",
            "compilerPath": "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++",
            "compilerArgs": [
                "-isysroot",
                "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"
            ],
            "macFrameworkPath": [
                "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks"
            ],
            "cStandard": "c17",
            "cppStandard": "c++20",
            "intelliSenseMode": "clang-x64",
            "includePath": [ 
              "${workspaceFolder}/Engine/Source/**",
              "${workspaceFolder}/Engine/Intermediate/**",
              "${workspaceFolder}/Engine/Plugins/**"
            ],
            "compileCommands": [
                "/Users/Shared/Epic Games/UE_5.4/.vscode/compileCommands_rubidium_rooms.json"
            ]
        },
        {
            "name": "Mac",
            "compilerPath": "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++",
            "compilerArgs": [
                "-isysroot",
                "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"
            ],
            "macFrameworkPath": [
                "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks"
            ],
            "cStandard": "c17",
            "cppStandard": "c++20",
            "intelliSenseMode": "clang-x64",
            "includePath": [ 
              "${workspaceFolder}/Engine/Source/**",
              "${workspaceFolder}/Engine/Intermediate/**",
              "${workspaceFolder}/Engine/Plugins/**"
            ],
            "compileCommands": [
                "/Users/Shared/Epic Games/UE_5.4/.vscode/compileCommands_Default.json"
            ]
        }
    ],
    "version": 4
}

Other Extensions

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.performanceregressionA bug that didn't exist in a previous releaseverifiedBug has been reproduced

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions