Searching files in a submodule

Hello!

I’m fairly new to Cursor (testing for my team to switch from PhpStorm), and I’m running into one painful issue I cannot figure out.

I have a repository that has a couple of submodules. When I press cmd+p to search for a file or whatever, the submodule files simply don’t show up. It looks like they’re simply not indexed.

I’ve checked all the settings related to submodules and repository scan depth, and nothing seems to help. Here’s my settings.json:

{
    "window.commandCenter": 1,
    "editor.fontSize": 14,
    "terminal.integrated.fontSize": 14,
    "cursor.cpp.enablePartialAccepts": true,
    "cursor.aipreview.enabled": true,
    "cursor.cmdk.useThemedDiffBackground": true,
    "editor.minimap.enabled": true,
    "editor.minimap.autohide": true,
    "workbench.editor.showTabs": "none",
    "chat.editor.fontSize": 14,
    "debug.console.fontSize": 14,
    "git.repositoryScanMaxDepth": -1,
    "git.detectSubmodulesLimit": 20,
    "php.problems.exclude": {
        "vendor/": true,
        "**/vendor/": true
    },
    "search.followSymlinks": true,
    "search.useIgnoreFiles": true,
    "files.exclude": {
        "**/.git": true,
        "**/.svn": true,
        "**/.hg": true,
        "**/CVS": true,
        "**/.DS_Store": true,
        "**/Thumbs.db": true,
        "**/node_modules": true,
        "**/.git": true,
        
        // Don't exclude wp-content/plugins
        "wp-content/plugins": false
    },
    "search.exclude": {
        "**/node_modules": true,
        "**/bower_components": true,
        "**/*.code-search": true,

        // Don't exclude wp-content/plugins
        "wp-content/plugins": false
    },
    "workbench.colorTheme": "Atom One Light",
    "editor.fontLigatures": true,
    "editor.fontFamily": "Fira Code, Monaco, 'Courier New', monospace",
    "workbench.editor.limit.perEditorGroup": true,
    "workbench.editor.limit.value": 1,
}

No idea what else to do. This almost makes the editor unusable for me.

Thank you!