Skip to content

lukasmalkmus/codeowners-zed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)
  • Language Server: Powered by tree-sitter-codeowners
  • Auto-detection: Automatically recognizes CODEOWNERS files

Installation

  1. Open Zed
  2. Open the command palette (Cmd+Shift+P on macOS)
  3. Run: zed: extensions
  4. Search for "CODEOWNERS"
  5. 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.

About

GitHub CODEOWNERS support for Zed

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published