mirror of
https://github.com/github/awesome-copilot.git
synced 2026-03-12 12:15:12 +00:00
docs: Updating how you mention files to be cross-tool
This commit is contained in:
@@ -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:
|
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
|
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
|
3. **Recently modified files**: Files you've edited recently
|
||||||
4. **Direct dependencies**: Files imported by your current file
|
4. **Direct dependencies**: Files imported by your current file
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user