Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>GitHub CODEOWNERS Tree VisualizerNew to Visual Studio Code? Get it now.
GitHub CODEOWNERS Tree Visualizer

GitHub CODEOWNERS Tree Visualizer

cmtrounce

|
39 installs
| (1) | Free
Visualize your GitHub CODEOWNERS file with interactive tree diagrams. See which teams own which parts of your codebase, manage team assignments, and export beautiful graphs for documentation.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CODEOWNERS Visualizer

CODEOWNERS Visualizer Icon

Run Tests VSCode Marketplace License

✨ Features

📝 CODEOWNERS File Support

  • Full syntax highlighting for CODEOWNERS files
  • Support for complex glob patterns (*.js, **/logs, {js,ts}, [abc])
  • Quoted paths with spaces, escaped spaces, special characters
  • Auto-completion for team names and email addresses
  • Auto-discovery of CODEOWNERS files in root, .github/, docs/

Syntax Highlighting Example

👥 Team Management

  • Pin frequently used teams for quick access
  • See which teams own which parts of your codebase
  • GitHub team integration with direct links
  • Team coverage analysis and reporting

CODEOWNERS Teams Navigation

📊 Status Bar Integration

  • Shows CODEOWNERS coverage directly in the VS Code status bar
  • Indicates when files are not covered by any CODEOWNERS rule
State Description Example
No Coverage File not covered by any CODEOWNERS rule No Coverage
Single Owner File owned by one team/person Single Owner
Multiple Owners File owned by multiple teams/people Multiple Owners

🌳 Interactive Tree Visualization

  • Generate beautiful tree-like graphs of your codebase ownership
  • Interactive zoom, pan, and search functionality
  • Export as SVG for documentation
  • Real-time updates as you modify CODEOWNERS files

CODEOWNERS Visualizer Demo

🌍 Localization Support

  • Built-in localization for English, Spanish, French, Italian
  • Easy extensibility for additional languages
  • Consistent experience across all supported languages

🚀 Quick Start

1. Install Extension & Graphviz

Install from VSCode Marketplace and run:

  • macOS/Linux: brew install graphviz or sudo apt-get install graphviz
  • Windows: Download from Graphviz website

2. Start Visualizing

Open a workspace with a CODEOWNERS file and click any team in the "CODEOWNERS Teams" panel.

🎮 Available Commands

Access via Command Palette (Cmd/Ctrl + Shift + P) - search for "CODEOWNERS":

  • Open Graph - Visualize ownership for current workspace
  • Analyze Coverage - Generate coverage analysis report
  • Export Coverage - Export coverage data to CSV
  • Create CODEOWNERS File - Generate a new CODEOWNERS file

Most commands are also available via right-click context menus and the CODEOWNERS Teams panel.

⚙️ Configuration

Configure in VS Code Settings (Cmd/Ctrl + ,):

  • codeownersTeams.showStatusBar - Show current file's owner in status bar
  • codeownersTeams.showHoverInfo - Show owner info on file hover
  • codeownersTeams.pinnedTeams - Array of team names to pin at top

🛠️ Development

git clone https://github.com/cmtrounce/codeowners-tree.git
cd codeowners-tree
npm install
npm run compile
npm test

See Contributing Guide for details.

🤝 Contributing

Contributions welcome! See Contributing Guide for details.

📄 License

MIT License - see LICENSE file for details.

🙏 Credits

Based on the original CODEOWNERS Tree by Andrei Ignatev.


Made with ❤️ for the VSCode community | Support this project

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft