Adds a widget to your IDE's status bar showing which users or teams own the currently opened file, as defined by your project's CODEOWNERS file. Multiple code owners are supported by displaying a list of owners when you click the widget, and clicking an owner will navigate to the line of the CODEOWNERS file which declares the currently open file's ownership.
This plugin is available from the IntelliJ plugin marketplace! Just open the Plugins page in Preferences, and search for "CodeOwners" in the Marketplace tab.
To install the JAR from the releases page:
- Download the latest release
- Open IntelliJ
- Open Preferences -> Plugins
- Click the cog icon in the top right
- Click "Install from disk"
- Find and open the .JAR file you downloaded.
To build and install this plugin yourself:
- Clone this repo
- Import the project into IntelliJ as a Gradle project
- Run using the "Run Plugin" configuration.
- If this succeeds, a new IntelliJ instance should open with the plugin installed, which you can close.
- Check that a .jar file is present in
./build/libs
- Install manually as described above
- May not work correctly for modules containing multiple source roots
- The test task currently fails, in part because we're formatting with ktlint but the test is set up to use Detekt