github / github/copilot-cli

Can't reference files from other directories added later

Open
#594 1 comment 1 reaction 0 assignees View on GitHub
area:context-memory
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the bug

- I start a copilot session in folder `X`
- Now i can add files to the prompt with `@somefile`
- Now I use `/add-dir Y`
- If I use `@...` to add more files then I can't select files from `Y` (nothing is found)

### Affected version

Version 0.0.358 · Commit f5a8b1e76

### Steps to reproduce the behavior

_No response_

### Expected behavior

When I add more folders I can add them to the prompt like with the inital folders files.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.