Skip to content

cdignam-segment/vscode-github-code-owners

 
 

Repository files navigation

A VS Code extension to display the GitHub Code Owners for the current file, as defined in the CODEOWNERS file.

Install

From online marketplace

Open the online marketplace listing for GitHub Code Owners and click "Install". Follow the prompts to open VSCode and install GitHub Code Owners.

From VSCode

In VSCode, type CMD+P and enter ext install chdsbd.github-code-owners. Or search for and install chdsbd.github-code-owners via the extensions tab.

From Github release

Download the extension package from the latest Github release and run code --install-extension github-code-owners-*.vsix

From source

With vsce installed from NPM (yarn global add vsce), clone this repo and run vsce package. Install the resulting package with code --install-extension github-code-owners-*.vsix

Features

Status bar

Shows the first code owner. Click to see matching line in CODEOWNERS file.

no code owners one user code owner a team code owner and other

Command

Open matching line in CODEOWNERS file with the GitHub Code Owners: Show owners of current file command.

code owners command

Language support

Make usernames in CODEOWNERS files links to GitHub and add syntax highlighting.

click to open username in GitHub syntax highlighting

Related extensions

Fork

This repository is forked from jasonnutter/vscode-codeowners, with UI changes and more correct CODEOWNERS compliance via @snyk/github-codeowners.

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 78.2%
  • JavaScript 12.5%
  • Shell 9.3%