claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

feature: Allow .claude directory to show up in @ autocompletion

Open rlepidi opened this issue 5 months ago • 5 comments

It seems claude code omits dot-prefixed directories from the @ autocompletion, which makes sense as a general approach.

I suggest that .claude is exempt from this and shows up in autocomplete. This directory can be used as a home for ai-specific files which can be referenced during prompts. For example, using a subdirectory to hold specs or PRDs. Or having an examples directory containing references you want to point claude to for how to implement tests files or endpoints or something.

It's still possible to reference these with @, but it would be nice to be able to use autocompletion at least for this directory.

Another fuller solution could be to get rid of the dot prefix ignoring aside from some defaults (like .git), and let users configure which dirs to ignore.

rlepidi avatar Jun 09 '25 00:06 rlepidi

@rlepidi this is definitely a high priority for me too. I do a lot of configure and references to the .github dir or my own apps integration testing .gitignore'd folder paths. It is a real point to having to spell the paths and files out each time and hope it references the correct paths.

@.<local-workspace-path> notation should be standard and not hidden.

clafollett avatar Jun 11 '25 18:06 clafollett

Agreed. I also work a lot on github actions and would like them to appear in autocomplete.

ijin avatar Jun 13 '25 02:06 ijin

I work on dotfiles repos at times and really would love to enable hidden file discovery with @ properly

ghost avatar Jun 24 '25 20:06 ghost

it also ignores the . prefixed files, so files like .gitlab-ci.yml gets ignored as well.

nick318 avatar Jun 25 '25 09:06 nick318

Linking related issues for visibility - please upvote if you're experiencing this too:

  • #2336
  • #1818
  • #611

rcdailey avatar Jun 29 '25 15:06 rcdailey

Hey all, hidden files should be available now for searching in the latest release (v1.0.64) :)

Image

ollie-anthropic avatar Jul 31 '25 07:07 ollie-anthropic

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Aug 07 '25 14:08 github-actions[bot]