Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add `.github/copilot-instructions.md` to paths loaded for rules (#27442)
Michael Sloan31e3c13ea9ec
diff --git a/crates/assistant2/src/thread.rs b/crates/assistant2/src/thread.rsindex 4076b9a4359..5803da85bc0 100644--- a/crates/assistant2/src/thread.rs+++ b/crates/assistant2/src/thread.rs@@ -698,11 +698,12 @@ impl Thread {// Note that Cline supports `.clinerules` being a directory, but that is not currently// supported. This doesn't seem to occur often in GitHub repositories.- const RULES_FILE_NAMES: [&'static str; 5] = [+ const RULES_FILE_NAMES: [&'static str; 6] = [".rules",".cursorrules",".windsurfrules",".clinerules",+ ".github/copilot-instructions.md","CLAUDE.md",];let selected_rules_file = RULES_FILE_NAMES