Skip to content

Autocomplete functionality missing for @Docs directory and subdirectories #4748

Description

@mattetti

Environment

  • Platform (select one):
    • Anthropic API
    • AWS Bedrock
    • Google Vertex AI
    • Other:
  • Claude CLI version: 1.0.63
  • Operating System: Linux 5.15.146.1-microsoft-standard-WSL2
  • Terminal: WSL2

Bug Description

Claude Code's autocomplete functionality does not work for files located in the @Docs directory or
any of its subdirectories. When attempting to reference files using the @ syntax (e.g.,
@Docs/CODEBASE.md), the autocomplete does not suggest any files from the Docs folder, making it
difficult to quickly reference documentation files.

Steps to Reproduce

  1. Open Claude Code in a project that contains a Docs/ directory with markdown files
  2. Type @Docs/ in the chat interface
  3. Observe that no autocomplete suggestions appear for files within the Docs directory
  4. Compare with other directories (e.g., @Source/ or @Plugins/) which do show autocomplete
    suggestions

Expected Behavior

When typing @Docs/, Claude Code should show autocomplete suggestions for all files within the Docs
directory and its subdirectories, including:

  • @Docs/CODEBASE.md
  • @Docs/UI.md
  • @Docs/AbilitySystem.md
  • @Docs/Plans/BuildWarnings-TODO.md
  • etc.

Actual Behavior

No autocomplete suggestions appear when typing @Docs/ or attempting to reference any files within
the Docs directory structure. The autocomplete feature appears to be completely disabled for this
directory.

Additional Context

  • The Docs directory contains 15+ markdown files and subdirectories that would benefit from
    autocomplete
  • Other directories in the same project (Source, Plugins, etc.) do show proper autocomplete
    functionality
  • This affects productivity when trying to quickly reference documentation files during development
    discussions
  • Project structure shows Docs directory is at root level: /mnt/e/Projects/App/Docs/

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:corearea:tuibugSomething isn't workinghas reproHas detailed reproduction stepsplatform:linuxIssue specifically occurs on Linux

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions