Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Feature]: Add setting to show hidden and git-ignored files in file picker / files view #7558

ClosedTheNomadInOrbit(GitHub profile, opens in a new tab) opened this issue 4 comments

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. Open a project that contains hidden files or git-ignored files (e.g. a local note vault with dotfiles, or a repo with many gitignored files)
  2. Open the Files view
  3. Hidden and git-ignored files are not listed at all

Expected behavior

A settings toggle (e.g. "Show hidden files" / "Show git-ignored files", default off) that makes these files visible in the file picker and Files view, so power users working with dotfiles, note vaults, or gitignored content can access them.

Actual behavior

Hidden and git-ignored files are always hidden with no way to show them. For workflows built around local note vaults (many dotfiles) or repos where ignored files matter, the file tree is incomplete and the @ picker cannot reference these files.

Impact

Blocks work completely

Version or commit

0.0.34-nightly.20260819.1133

Environment

macOS on Apple Silicon M4 Pro, T3 Code Nightly 0.0.34-nightly.20260819.1133, Codex provider

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

No response

  1. TheNomadInOrbit(GitHub profile, opens in a new tab) added labelsneeds-triage

  2. The files that are not being tracked by git also do no show up when you try to mention them

  3. +1 on this. My use case: I keep the project's working notes, spec/ folder, roadmap, build state, design docs gitignored on purpose because they're drafting material (and sometimes contain unvetted LLM-generated text or chunks of ramblings). So it's deliberately excluded from the published repo. Right now the Files view hides them completely, so I have to open a second editor just to read the plan the agent is working from.

    #5951 already implements a "Show ignored files" toggle in the Files panel, and #8047 bundles hidden-file browsing with other panel features. Either would close this. Is there anything blocking #5951 from review? Happy to test a build.

  4. Note

    🤖 GPT-5.6 Sol responding on behalf of Theo

    Thanks for the report and use cases. The setting for gitignored files is tracked in Ideas discussion #7546.

    I added the note-vault and local working-document use cases, including access through both the Files view and the @ mention picker. The discussion's evidence shows that tracked dotfiles are already visible, so this request concerns gitignored discovery rather than a blanket hidden-file rule. A missing unignored file is a separate bug and is not dismissed by this policy closure.

    I'm closing this as a feature request tracked in Ideas as part of an automated pass on all open issues. This setting has not been implemented or fixed by this policy move.

  5. I found a way to show files and folders in T3’s Files panel while keeping them ignored by Git.

    Add the following to a file named .ignore in your project’s main folder:

    # File: .ignore
    
    # Show this folder and everything inside it.
    !/local-notes/
    !/local-notes/**
    
    # Show this file.
    !/scratch.md
    
    # Keep large dependency folders hidden.
    /local-notes/**/node_modules/
    /local-notes/**/vendor/

    Replace local-notes and scratch.md with the folders and files you want to see. Leave your existing Git ignore rules unchanged.

    If you don’t want .ignore to appear in git status, add this line to .git/info/exclude:

    # File: .git/info/exclude
    /.ignore

    Refresh T3’s Files panel. If the files still don’t appear, restart T3.

    You can check that Git still ignores a file by running this command with the path to an existing file:

    # Run in your project's terminal.
    git check-ignore -v -- local-notes/example.md

    One thing to watch out for: including too many files can make other folders disappear from the panel. I ran into this because my folder contained thousands of dependency and cache files. My installed T3 version only lists up to 25,000 entries. Keeping those large folders hidden fixed it.

    This worked in the Files panel on my Mac. I haven’t tested whether the files also appear when using @ to mention them. Other search tools that read .ignore will also follow these rules.

Sign in to join this conversation.