Skip to content

File reference (@) fails to index files/folders created via Junction or SymbolicLink on Windows #18182

Closed as not planned

Description

@Vwings

Description

The File Reference (@) feature cannot find or suggest files or folders created via Junction or SymbolicLink on Windows.

OpenCode has full read and write access to these linked items, but the @ trigger fails to discover or suggest them in the suggestion list. This issue occurs with items created using New-Item -ItemType Junction or SymbolicLink in PowerShell.

Plugins

No response

OpenCode version

1.2.25

Steps to reproduce

  1. In PowerShell, create a link to an external folder:
    New-Item -ItemType Junction -Path .\docs -Target C:\ExternalDocs
  2. Open the workspace in OpenCode.
  3. Try to reference a file inside .\docs using the @ trigger.
  4. Result: No files from the linked directory appear in the suggestions, even though OpenCode has read/write capability for these files.

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

Windows Terminal

Activity

  1. github-actions commented on Mar 19, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  2. removed
    bugSomething isn't working
    on May 3, 2026
  3. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions