You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support referencing files inside Git submodules when using @ mentions in chat #997
But referencing files inside a submodule does not resolve:
`@shared-lib/src/utils.ts`
Expected behavior
Files inside Git submodules should be discoverable and referenceable in the same way as normal repository files.
Example:
@app/src/index.ts
@shared-lib/src/utils.ts
Both references should resolve successfully.
Impact
This prevents using the file mention system in projects that rely on Git submodules for shared libraries, infrastructure repositories, or other external components.
Possible direction
The indexing step likely needs to include submodule directories. This may involve:
• Resolving .gitmodules
• Including submodule paths during file indexing
• Treating submodule directories as valid sources for file references
Additional context
If needed I can look into this further and open a PR implementing support.
Activity
riley-wv commentedon Mar 13, 2026
Opened a PR to solve this and have included screenshots of the changes.
PR: #1000