Skip to content

[Bug]: doesn't detect git submodules in the editor #2822

Closed as duplicate

Description

@shettydev

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Create or open a Git repository that contains at least one Git submodule.
  2. Commit and initialize the submodule as usual (e.g. ‎⁠git submodule add ...⁠, ‎⁠git submodule update --init⁠), so the submodule’s files exist on disk.
  3. Open this repository in the editor.
  4. Try to reference a file from the submodule using the ‎⁠@⁠ search (file/tagging) UI.
  5. Type the exact file name or a unique substring from a file that lives inside the submodule.

Expected behavior

Files that live inside initialized Git submodules of the current repository should be indexed and appear in the ‎⁠@⁠ search results, so they can be tagged and referenced like any other file in the repo.

Actual behavior

Files inside Git submodules are not detected at all:

  • The submodule directory itself is ignored by the ‎⁠@⁠ search.

  • None of the files within the submodule appear in search results, even though they are present on disk and tracked in Git.

  • As a result, it is not possible to tag or reference any file that lives inside a Git submodule, which makes working with repos that rely on submodules effectively not usable.

Impact

Blocks work completely

Version or commit

0.0.24

Environment

macOS 26.5 (25F71)

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

No response

Activity

  1. added
    bugSomething is broken or behaving incorrectly.
    needs-triageIssue needs maintainer review and initial categorization.
    on May 27, 2026
  2. juliusmarminge commented on Jun 9, 2026

    @juliusmarminge
    Member

    Duplicate of #997

    Same gap — files inside git submodules aren't indexed for @-mentions / file search. #997 is the canonical issue (PR #1000 linked).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions