From 1752caf47989d181c91025ed8c903de9fec5a059 Mon Sep 17 00:00:00 2001 From: Aaron Powell Date: Thu, 26 Feb 2026 14:37:01 +1100 Subject: [PATCH] docs: Updating how you mention files to be cross-tool --- .../src/content/learning-hub/understanding-copilot-context.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/content/learning-hub/understanding-copilot-context.md b/website/src/content/learning-hub/understanding-copilot-context.md index a8499d49..4f007e06 100644 --- a/website/src/content/learning-hub/understanding-copilot-context.md +++ b/website/src/content/learning-hub/understanding-copilot-context.md @@ -118,7 +118,7 @@ Using `#` to reference specific files gives Copilot precise context about which GitHub Copilot has a maximum token limit for how much context it can process at once. When you have many files open or a long chat history, Copilot prioritizes: 1. **Closest proximity**: Code immediately surrounding your cursor -2. **Explicitly referenced files**: Files you @-mention in chat +2. **Explicitly referenced files**: Files you @-mention in chat for CLI, and #-mention for IDE's (VS Code, Visual Studio, JetBrains, etc.) 3. **Recently modified files**: Files you've edited recently 4. **Direct dependencies**: Files imported by your current file