Full syntax highlighting and language support for GitHub CODEOWNERS files in Zed editor.
- Syntax Highlighting: Complete support for CODEOWNERS syntax
- Comments (
#) - Section headers (
[Section Name] @approvers) - File patterns with wildcards (
*,**,?) - Owner references (
@user,@org/team,email@example.com)
- Comments (
- Language Server: Powered by tree-sitter-codeowners
- Auto-detection: Automatically recognizes
CODEOWNERSfiles
- Open Zed
- Open the command palette (
Cmd+Shift+Pon macOS) - Run: zed: extensions
- Search for "CODEOWNERS"
- Click Install
Once installed, the extension automatically activates for CODEOWNERS files. Open any CODEOWNERS file to see syntax highlighting in action.
# Default owners for everything in the repo
* @org/default-team
# JavaScript/TypeScript owners
*.js @org/frontend-team
*.ts @org/frontend-team
**/*.tsx @org/ui-team
# Backend code owners
/api/ @org/backend-team
/services/ @org/backend-team @senior-dev
# Documentation section
[Documentation]
/docs/ @org/docs-team
*.md @org/tech-writers
# Configuration files
/.github/ @org/devops
*.yml @org/devopsContributions are welcome! Please open an issue or submit a pull request on GitHub.
MIT License - see LICENSE for details.