GitHub Copilot adds repository file explorer for web, simplifying codebase navigation
Enhanced Repository Navigation
Developers using Copilot on the web can now explore a repository's file structure more intuitively. The new file tree explorer allows users to ask Copilot to show specific files, then browse the entire file structure alongside file contents for better context about how files relate to the broader codebase.
Seamless File References in Chat
As you navigate the file explorer, selected files are automatically added to your chat as temporary references. This eliminates the friction of manually referencing files and keeps conversations more contextual:
- Automatic temporary references: Files you select are instantly added to chat context
- Permanent reference option: Click the reference token or double-click a file preview tab to make references permanent
- Improved context awareness: Developers can jump between files and ask Copilot more targeted questions
Availability
This feature is now available in public preview. Users can join the discussion in the GitHub Community to share feedback and report issues.