Skip to content

earvinpiamonte/ecdiff

Repository files navigation

ecdiff

Beautifies Git and CVS code patches on the browser.

alt text

Features

  • Code syntax highlighting
  • Light/ dark mode

Usage

  1. Open a code patch file on a Chrome/ Chromium-based browser
  2. Click on the ecdiff extension icon

Toggle dark mode on options page: Right click on the ecdiff extension icon then click on "Options".

Heads up! To format local code patch files at file:///, enable "Allow access to file URLs" on chrome://extensions/?id=jockmidhjggcfnfdinaihmndknopjjij.

Supported code patches

  • git diff
  • unified diff code patches created with Eclipse IDE
  • unified diff code patches created with CVS diff

Syntax highlighting support

Built with

Add to Google Chrome

Get the latest version of the extension at Chrome Web Store.

Add to Google Chrome w/ developer mode

  1. Clone
git clone https://github.com/earvinpiamonte/ecdiff.git
  1. cd to project
cd ecdiff/

  1. Install dependencies
npm i
  1. Build
npm run build
  1. Open a Google Chrome browser and navigate to chrome://extensions/.
  2. Enable Developer mode.
  3. Click on Load unpacked.
  4. Find the project ecdiff/ and open it. Select build/ as the extension directory.
  5. ecdiff extension now added to Chrome.

Credits

Icons made by Ilham Fitrotul Hayat from Flaticon and generated with RealFaviconGenerator.net.

Code patch attachment used as screenshot - https://bugzillaattachments.eclipsecontent.org/bugs/attachment.cgi?id=78905

Maintainer

This project is developed and maintained by Noel Earvin Piamonte.