CODEOWNERS
Syntax highlighting and language support for GitHub CODEOWNERS files
How to install
With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.
You can also open the Extensions panel in the app and search for CODEOWNERS. The extension's id is codeowners.
Don't have Forge Super yet? Download it here.
README
From the extension's repository, written by its authors and not by Mentenaz. See the source.
CODEOWNERS Extension for Zed
Full syntax highlighting and language support for GitHub CODEOWNERS files in Zed editor.
Features
- 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
Installation
- Open Zed
- Open the command palette (
Cmd+Shift+Pon macOS) - Run: zed: extensions
- Search for "CODEOWNERS"
- Click Install
Usage
Once installed, the extension automatically activates for CODEOWNERS files. Open any CODEOWNERS file to see syntax highlighting in action.
Example CODEOWNERS File
# 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/devops
Resources
Contributing
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
License
MIT License - see LICENSE for details.